Skip to content
PantoneTools
green
X11 named colors

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

Sample text · 4.69 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 4.47 : 1
AA Normal
AA Large
AAA Normal
AAA Large

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.

Copied #EBF6EB

50

#EBF6EB

#EBF6EB

Copied #D6ECD6

100

#D6ECD6

#D6ECD6

Copied #ADDAAD

200

#ADDAAD

#ADDAAD

Copied #80C580

300

#80C580

#80C580

Copied #40A840

400

#40A840

#40A840

Copied #008B00

500

#008B00

#008B00

Copied #007600

600

#007600

#007600

Copied #005A00

700

#005A00

#005A00

Copied #003F00

800

#003F00

#003F00

Copied #002300

900

#002300

#002300

Copied #001100

950

#001100

#001100

Lighter tints (mixed with white)

Copied #6CA46C

15%

#6CA46C

Copied #95B895

30%

#95B895

Copied #B3CAB3

45%

#B3CAB3

Copied #CBDACB

60%

#CBDACB

Copied #E1E9E1

75%

#E1E9E1

Darker shades (mixed with black)

Copied #008100

15%

#008100

Copied #007600

30%

#007600

Copied #006900

45%

#006900

Copied #005A00

60%

#005A00

Copied #004800

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

Copied #008B00

#008B00

#008B00

Copied #8A008A

#8A008A

#8A008A

Triadic

Three colors 120° apart

Copied #008B00

#008B00

#008B00

Copied #00008A

#00008A

#00008A

Copied #8A0000

#8A0000

#8A0000

Analogous

Two neighbors ±30° on the wheel

Copied #458A00

#458A00

#458A00

Copied #008B00

#008B00

#008B00

Copied #008A45

#008A45

#008A45

Split-complementary

Base + two colors flanking its complement

Copied #008B00

#008B00

#008B00

Copied #45008A

#45008A

#45008A

Copied #8A0045

#8A0045

#8A0045

Tetradic

Two complementary pairs

Copied #008B00

#008B00

#008B00

Copied #008A8A

#008A8A

#008A8A

Copied #8A008A

#8A008A

#8A008A

Copied #8A0000

#8A0000

#8A0000

Square

Four colors evenly spaced 90° apart

Copied #008B00

#008B00

#008B00

Copied #00458A

#00458A

#00458A

Copied #8A008A

#8A008A

#8A008A

Copied #8A4500

#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.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #4C9141

RAL 6017

#4C9141

May green

Copied #308446

RAL 6024

#308446

Traffic green

Copied #57A639

RAL 6018

#57A639

Yellow green

Copied #287233

RAL 6001

#287233

Emerald green

Copied #35682D

RAL 6010

#35682D

Grass green

Copied #587246

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
named-color
legacy
green

X11 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.

X11 named colors · Green4 — #008B00 | PantoneTools