#126024#126024
#126024 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.118 H 146.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #126024 |
|---|---|
| RGB | rgb(18, 96, 36) |
| HSL | hsl(134, 68%, 22%) |
| HSV | hsv(134, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 62.5%, 62.4%) |
| CIE-LAB | lab(35.24, -36.71, 27.40) |
| CIE-LCH | lch(35.24, 45.80, 143.26°) |
| OKLab | oklab(42.96% -0.0988 0.0649) |
| OKLCH | oklch(42.96% 0.118 146.7) |
| XYZ | xyz(4.7504, 8.6212, 3.0824) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.50
Forest Green
#2D5A27
ΔE00 4.06
Forest
#0B5509
ΔE00 4.70
Pine
#2B5D34
ΔE00 4.84
Darkgreen
#006400
ΔE00 5.38
Spruce
#0A5F38
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126024 #60124E
analogous
#276012 #126024 #12604B
triadic
#126024 #241260 #602412
tetradic
#126024 #122760 #60124E #604B12
square
#126024 #122760 #60124E #604B12
split-complementary
#126024 #4B1260 #601227
monochromatic
#051A0A #082C11 #126024 #1C9437 #25C74B
Accessibility & contrast
On white
7.71
#126024 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#126024 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126024
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126024 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126024 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61571E
Deuteranopia (green-blind)
#595029
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #126024; /* rgb */ color: rgb(18, 96, 36); /* oklch */ color: oklch(43.0% 0.118 146.7);
Tailwind
colors: {
custom: {
50: '#5f8e61',
500: '#126024',
950: '#000000',
},
}SCSS
$custom: #126024; $custom-light: #5f8e61; $custom-dark: #000000;
JSON
{
"hex": "#126024",
"rgb": {
"r": 18,
"g": 96,
"b": 36
},
"hsl": {
"h": 133.846,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.42957,
"c": 0.1182,
"h": 146.7
},
"luminance": 0.08622
}Semantic roles & 50–950 ramp
primary
#126024
secondary
#983681
accent
#3DC3EB
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79