#126221#126221
#126221 is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.5% C 0.124 H 145.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #126221 |
|---|---|
| RGB | rgb(18, 98, 33) |
| HSL | hsl(131, 69%, 23%) |
| HSV | hsv(131, 82%, 38%) |
| CMYK | cmyk(81.6%, 0%, 66.3%, 61.6%) |
| CIE-LAB | lab(35.93, -37.87, 29.72) |
| CIE-LCH | lch(35.93, 48.14, 141.87°) |
| OKLab | oklab(43.52% -0.1021 0.0696) |
| OKLCH | oklch(43.52% 0.124 145.7) |
| XYZ | xyz(4.8913, 8.9732, 2.9128) |
| Luminance | 0.0897 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.40
Darkgreen
#006400
ΔE00 4.39
Forest Green
#2D5A27
ΔE00 4.63
Forest
#0B5509
ΔE00 4.70
Pine
#2B5D34
ΔE00 5.70
Spruce
#0A5F38
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126221 #621253
analogous
#2B6212 #126221 #126249
triadic
#126221 #211262 #622112
tetradic
#126221 #122B62 #621253 #624912
square
#126221 #122B62 #621253 #624912
split-complementary
#126221 #491262 #62122B
monochromatic
#051A09 #092E10 #126221 #1B9632 #25C944
Accessibility & contrast
On white
7.51
#126221 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#126221 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126221
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126221 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126221 | 1.00 | 7.51 | 2.79 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#64581A
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #126221; /* rgb */ color: rgb(18, 98, 33); /* oklch */ color: oklch(43.5% 0.124 145.7);
Tailwind
colors: {
custom: {
50: '#5f905f',
500: '#126221',
950: '#000000',
},
}SCSS
$custom: #126221; $custom-light: #5f905f; $custom-dark: #000000;
JSON
{
"hex": "#126221",
"rgb": {
"r": 18,
"g": 98,
"b": 33
},
"hsl": {
"h": 131.25,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.43516,
"c": 0.12353,
"h": 145.7
},
"luminance": 0.08974
}Semantic roles & 50–950 ramp
primary
#126221
secondary
#9A3687
accent
#3CCBEC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C05
muted
#7A7D79