Green4
green4 · #008B00
HEX
#008B00
RGB
rgb(0, 139, 0)
CMYK
cmyk(100%, 0%, 100%, 45%)
HSL
hsl(120, 100%, 27%)
LAB
lab(50.0, -54.9, 53.0)
What is Green4?
Green4 is the green4 reference in the X11 named colors. Its sRGB value is #008B00 (rgb 0, 139, 0). It sits in the green family. Historical X Window System color names — the numbered 1-4 lightness variants of the classic xorg-server rgb.txt palette. See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Green4 as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Green4
An 11-step tonal scale derived from Green4 (#008B00). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.
50
#EBF6EB
#EBF6EB
100
#D6ECD6
#D6ECD6
200
#ADDAAD
#ADDAAD
300
#80C580
#80C580
400
#40A840
#40A840
500
#008B00
#008B00
600
#007600
#007600
700
#005A00
#005A00
800
#003F00
#003F00
900
#002300
#002300
950
#001100
#001100
Lighter tints (mixed with white)
15%
#6CA46C
30%
#95B895
45%
#B3CAB3
60%
#CBDACB
75%
#E1E9E1
Darker shades (mixed with black)
15%
#008100
30%
#007600
45%
#006900
60%
#005A00
75%
#004800
Color harmonies for Green4
Classic color-theory harmonies derived from rotating the hue of Green4. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#008B00
#008B00
#8A008A
#8A008A
Triadic
Three colors 120° apart
#008B00
#008B00
#00008A
#00008A
#8A0000
#8A0000
Analogous
Two neighbors ±30° on the wheel
#458A00
#458A00
#008B00
#008B00
#008A45
#008A45
Split-complementary
Base + two colors flanking its complement
#008B00
#008B00
#45008A
#45008A
#8A0045
#8A0045
Tetradic
Two complementary pairs
#008B00
#008B00
#008A8A
#008A8A
#8A008A
#8A008A
#8A0000
#8A0000
Square
Four colors evenly spaced 90° apart
#008B00
#008B00
#00458A
#00458A
#8A008A
#8A008A
#8A4500
#8A4500
Green4 in every color space
Full conversion of Green4 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.
HEX
#008B00
RGB
rgb(0, 139, 0)
CMYK
cmyk(100%, 0%, 100%, 45%)
HSL
hsl(120, 100%, 27%)
HSV
hsv(120, 100%, 55%)
HWB
hwb(120 0% 45%)
CIE Lab
lab(50.0 -54.9 53.0)
OKLCH
oklch(55.2% 0.188 142.5)
XYZ (D65)
xyz(9.23, 18.46, 3.08)
Copy-ready code for Green4
Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.
CSS
color: #008B00;
background-color: #008B00;CSS variable
:root {
--color-green4: #008B00;
}Tailwind config
// tailwind.config.js
colors: {
'green4': '#008B00',
}Sass
$color-green4: #008B00;Swift UIColor
UIColor(red: 0.000, green: 0.545, blue: 0.000, alpha: 1.0)Android XML
<color name="green4">#008B00</color>Closest match in every color system
The nearest Green4 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.
Closest in X11 named colors
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 6017
#4C9141
May green
RAL 6024
#308446
Traffic green
RAL 6018
#57A639
Yellow green
RAL 6001
#287233
Emerald green
RAL 6010
#35682D
Grass green
RAL 6011
#587246
Reseda green
FAQ about Green4
What is the HEX code for Green4?
Green4 (green4) has the HEX code #008B00. In RGB it is rgb(0, 139, 0), and in CMYK it is cmyk(100%, 0%, 100%, 45%).
What is the OKLCH value of Green4?
Green4 converts to oklch(0.552 0.188 142.5). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Green4 accessible for body text?
Used as a background, Green4 has a contrast ratio of 4.69:1 with black text and 4.47:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.
What is the closest Pantone to Green4?
The closest Pantone reference to Green4 by ΔE2000 perceptual distance is Pantone 355 C (#009639). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Green4?
The closest RAL Classic reference to Green4 by ΔE2000 distance is RAL 6017 (May green, #4C9141). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Green4?
The complementary color (180° opposite on the HSL color wheel) of Green4 is #8A008A. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
X11 named colors (xorg rgb.txt)
The historical X11 color name list shipped in the xorg-server rgb.txt file. Roughly 550 entries covering classic computing color names like 'PapayaWhip', 'MediumAquamarine', and 'DarkSlateGray'. Many CSS named colors originate here. Use as a reference for legacy and creative color names. Most modern CSS implementations accept these names directly.
- Source type
- derived
- Confidence
- high
- License
- MIT/X11 license (X Consortium)
- Last reviewed
- 2026-05-24
Workflow tags
X11 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.