#126122#126122
#126122 is a dark, vivid green. Relative luminance 0.088; OKLCH L 43.2% C 0.121 H 146.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #126122 |
|---|---|
| RGB | rgb(18, 97, 34) |
| HSL | hsl(132, 69%, 23%) |
| HSV | hsv(132, 81%, 38%) |
| CMYK | cmyk(81.4%, 0%, 64.9%, 62%) |
| CIE-LAB | lab(35.58, -37.36, 28.82) |
| CIE-LCH | lch(35.58, 47.19, 142.35°) |
| OKLab | oklab(43.23% -0.1007 0.0678) |
| OKLCH | oklch(43.23% 0.121 146.1) |
| XYZ | xyz(4.8125, 8.7929, 2.9566) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.33
Forest Green
#2D5A27
ΔE00 4.35
Forest
#0B5509
ΔE00 4.60
Darkgreen
#006400
ΔE00 4.77
Pine
#2B5D34
ΔE00 5.35
Spruce
#0A5F38
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126122 #611251
analogous
#296112 #126122 #12614A
triadic
#126122 #221261 #612212
tetradic
#126122 #122961 #611251 #614A12
square
#126122 #122961 #611251 #614A12
split-complementary
#126122 #4A1261 #611229
monochromatic
#051A09 #082D10 #126122 #1C9534 #25C846
Accessibility & contrast
On white
7.61
#126122 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#126122 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126122
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126122 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126122 | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63571B
Deuteranopia (green-blind)
#5A5127
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #126122; /* rgb */ color: rgb(18, 97, 34); /* oklch */ color: oklch(43.2% 0.121 146.1);
Tailwind
colors: {
custom: {
50: '#5f8f5f',
500: '#126122',
950: '#000000',
},
}SCSS
$custom: #126122; $custom-light: #5f8f5f; $custom-dark: #000000;
JSON
{
"hex": "#126122",
"rgb": {
"r": 18,
"g": 97,
"b": 34
},
"hsl": {
"h": 132.152,
"s": 68.696,
"l": 22.549
},
"oklch": {
"l": 0.43229,
"c": 0.12134,
"h": 146.1
},
"luminance": 0.08793
}Semantic roles & 50–950 ramp
primary
#126122
secondary
#993685
accent
#3CC8EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C05
muted
#7A7D79