#126539#126539
#126539 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.8% C 0.104 H 154.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #126539 |
|---|---|
| RGB | rgb(18, 101, 57) |
| HSL | hsl(148, 70%, 23%) |
| HSV | hsv(148, 82%, 40%) |
| CMYK | cmyk(82.2%, 0%, 43.6%, 60.4%) |
| CIE-LAB | lab(37.35, -34.94, 18.28) |
| CIE-LCH | lch(37.35, 39.43, 152.38°) |
| OKLab | oklab(44.81% -0.0941 0.0454) |
| OKLCH | oklch(44.81% 0.104 154.2) |
| XYZ | xyz(5.6411, 9.7307, 5.4510) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.27
Pine
#2B5D34
ΔE00 4.06
Hunter Green
#355E3B
ΔE00 5.42
Forest Green
#2D5A27
ΔE00 6.20
Deep Green
#02590F
ΔE00 7.89
Forest
#0B5509
ΔE00 8.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126539 #65123E
analogous
#146512 #126539 #126562
triadic
#126539 #391265 #653912
tetradic
#126539 #121465 #65123E #656212
square
#126539 #121465 #65123E #656212
split-complementary
#126539 #621265 #651214
monochromatic
#051A0F #09311C #126539 #1B9956 #25CD74
Accessibility & contrast
On white
7.13
#126539 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#126539 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126539
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126539 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126539 | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655C36
Deuteranopia (green-blind)
#5B553C
Tritanopia (blue-blind)
#00645A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #126539; /* rgb */ color: rgb(18, 101, 57); /* oklch */ color: oklch(44.8% 0.104 154.2);
Tailwind
colors: {
custom: {
50: '#5f9270',
500: '#126539',
950: '#000000',
},
}SCSS
$custom: #126539; $custom-light: #5f9270; $custom-dark: #000000;
JSON
{
"hex": "#126539",
"rgb": {
"r": 18,
"g": 101,
"b": 57
},
"hsl": {
"h": 148.193,
"s": 69.748,
"l": 23.333
},
"oklch": {
"l": 0.44807,
"c": 0.10447,
"h": 154.2
},
"luminance": 0.09731
}Semantic roles & 50–950 ramp
primary
#126539
secondary
#9D366C
accent
#3B99ED
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A