#126531#126531
#126531 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.7% C 0.113 H 150.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #126531 |
|---|---|
| RGB | rgb(18, 101, 49) |
| HSL | hsl(142, 70%, 23%) |
| HSV | hsv(142, 82%, 40%) |
| CMYK | cmyk(82.2%, 0%, 51.5%, 60.4%) |
| CIE-LAB | lab(37.22, -36.51, 22.70) |
| CIE-LCH | lch(37.22, 42.99, 148.12°) |
| OKLab | oklab(44.65% -0.0981 0.0553) |
| OKLCH | oklch(44.65% 0.113 150.6) |
| XYZ | xyz(5.4570, 9.6571, 4.4815) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.75
Pine
#2B5D34
ΔE00 4.33
Forest Green
#2D5A27
ΔE00 5.32
Hunter Green
#355E3B
ΔE00 6.10
Deep Green
#02590F
ΔE00 6.18
Forest
#0B5509
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126531 #651246
analogous
#1C6512 #126531 #12655A
triadic
#126531 #311265 #653112
tetradic
#126531 #121C65 #651246 #655A12
square
#126531 #121C65 #651246 #655A12
split-complementary
#126531 #5A1265 #65121C
monochromatic
#051A0D #093118 #126531 #1B994A #25CD63
Accessibility & contrast
On white
7.16
#126531 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#126531 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126531
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126531 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126531 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665C2D
Deuteranopia (green-blind)
#5C5535
Tritanopia (blue-blind)
#006359
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #126531; /* rgb */ color: rgb(18, 101, 49); /* oklch */ color: oklch(44.7% 0.113 150.6);
Tailwind
colors: {
custom: {
50: '#60926a',
500: '#126531',
950: '#000000',
},
}SCSS
$custom: #126531; $custom-light: #60926a; $custom-dark: #000000;
JSON
{
"hex": "#126531",
"rgb": {
"r": 18,
"g": 101,
"b": 49
},
"hsl": {
"h": 142.41,
"s": 69.748,
"l": 23.333
},
"oklch": {
"l": 0.44651,
"c": 0.11261,
"h": 150.6
},
"luminance": 0.09658
}Semantic roles & 50–950 ramp
primary
#126531
secondary
#9D3676
accent
#3BAAED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A