#126021#126021
#126021 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.121 H 145.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #126021 |
|---|---|
| RGB | rgb(18, 96, 33) |
| HSL | hsl(132, 68%, 22%) |
| HSV | hsv(132, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 65.6%, 62.4%) |
| CIE-LAB | lab(35.21, -37.12, 28.90) |
| CIE-LCH | lch(35.21, 47.05, 142.10°) |
| OKLab | oklab(42.92% -0.1 0.0678) |
| OKLCH | oklch(42.92% 0.121 145.9) |
| XYZ | xyz(4.7065, 8.6036, 2.8512) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.06
Forest Green
#2D5A27
ΔE00 4.19
Forest
#0B5509
ΔE00 4.30
Darkgreen
#006400
ΔE00 4.78
Pine
#2B5D34
ΔE00 5.32
Spruce
#0A5F38
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126021 #601251
analogous
#2A6012 #126021 #126048
triadic
#126021 #211260 #602112
tetradic
#126021 #122A60 #601251 #604812
square
#126021 #122A60 #601251 #604812
split-complementary
#126021 #481260 #60122A
monochromatic
#051A09 #082C0F #126021 #1C9433 #25C744
Accessibility & contrast
On white
7.72
#126021 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#126021 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126021
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126021 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126021 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62561A
Deuteranopia (green-blind)
#595026
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #126021; /* rgb */ color: rgb(18, 96, 33); /* oklch */ color: oklch(42.9% 0.121 145.9);
Tailwind
colors: {
custom: {
50: '#5f8e5f',
500: '#126021',
950: '#000000',
},
}SCSS
$custom: #126021; $custom-light: #5f8e5f; $custom-dark: #000000;
JSON
{
"hex": "#126021",
"rgb": {
"r": 18,
"g": 96,
"b": 33
},
"hsl": {
"h": 131.538,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.42916,
"c": 0.12087,
"h": 145.9
},
"luminance": 0.08604
}Semantic roles & 50–950 ramp
primary
#126021
secondary
#983685
accent
#3DCAEB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79