#126017#126017
#126017 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.8% C 0.129 H 143.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #126017 |
|---|---|
| RGB | rgb(18, 96, 23) |
| HSL | hsl(124, 68%, 22%) |
| HSV | hsv(124, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 76%, 62.4%) |
| CIE-LAB | lab(35.11, -38.28, 33.49) |
| CIE-LCH | lch(35.11, 50.87, 138.82°) |
| OKLab | oklab(42.81% -0.1037 0.0763) |
| OKLCH | oklch(42.81% 0.129 143.6) |
| XYZ | xyz(4.5867, 8.5557, 2.2201) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.33
Darkgreen
#006400
ΔE00 3.11
Forest
#0B5509
ΔE00 3.55
Forest Green
#2D5A27
ΔE00 4.97
Pine
#2B5D34
ΔE00 6.82
Bottle Green
#044A05
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126017 #60125B
analogous
#346012 #126017 #12603E
triadic
#126017 #171260 #601712
tetradic
#126017 #123460 #60125B #603E12
square
#126017 #123460 #60125B #603E12
split-complementary
#126017 #3E1260 #601234
monochromatic
#051A06 #082C0B #126017 #1C9423 #25C730
Accessibility & contrast
On white
7.75
#126017 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#126017 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126017
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126017 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126017 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62560B
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #126017; /* rgb */ color: rgb(18, 96, 23); /* oklch */ color: oklch(42.8% 0.129 143.6);
Tailwind
colors: {
custom: {
50: '#5f8e59',
500: '#126017',
950: '#000000',
},
}SCSS
$custom: #126017; $custom-light: #5f8e59; $custom-dark: #000000;
JSON
{
"hex": "#126017",
"rgb": {
"r": 18,
"g": 96,
"b": 23
},
"hsl": {
"h": 123.846,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.42807,
"c": 0.12873,
"h": 143.6
},
"luminance": 0.08556
}Semantic roles & 50–950 ramp
primary
#126017
secondary
#983692
accent
#3DE0EB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79