#126631#126631
#126631 is a dark, moderate green. Relative luminance 0.099; OKLCH L 44.9% C 0.114 H 150.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #126631 |
|---|---|
| RGB | rgb(18, 102, 49) |
| HSL | hsl(142, 70%, 24%) |
| HSV | hsv(142, 82%, 40%) |
| CMYK | cmyk(82.4%, 0%, 52%, 60%) |
| CIE-LAB | lab(37.58, -36.90, 23.15) |
| CIE-LCH | lch(37.58, 43.56, 147.89°) |
| OKLab | oklab(44.95% -0.0991 0.0564) |
| OKLCH | oklch(44.95% 0.114 150.4) |
| XYZ | xyz(5.5547, 9.8524, 4.5141) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.07
Pine
#2B5D34
ΔE00 4.61
Forest Green
#2D5A27
ΔE00 5.51
Deep Green
#02590F
ΔE00 6.26
Hunter Green
#355E3B
ΔE00 6.32
Darkgreen
#006400
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126631 #661247
analogous
#1D6612 #126631 #12665B
triadic
#126631 #311266 #663112
tetradic
#126631 #121D66 #661247 #665B12
square
#126631 #121D66 #661247 #665B12
split-complementary
#126631 #5B1266 #66121D
monochromatic
#051A0C #093218 #126631 #1B9A4A #24CE63
Accessibility & contrast
On white
7.07
#126631 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#126631 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126631
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126631 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126631 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675C2D
Deuteranopia (green-blind)
#5D5635
Tritanopia (blue-blind)
#00645A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #126631; /* rgb */ color: rgb(18, 102, 49); /* oklch */ color: oklch(44.9% 0.114 150.4);
Tailwind
colors: {
custom: {
50: '#60926a',
500: '#126631',
950: '#000000',
},
}SCSS
$custom: #126631; $custom-light: #60926a; $custom-dark: #000000;
JSON
{
"hex": "#126631",
"rgb": {
"r": 18,
"g": 102,
"b": 49
},
"hsl": {
"h": 142.143,
"s": 70,
"l": 23.529
},
"oklch": {
"l": 0.44946,
"c": 0.11401,
"h": 150.4
},
"luminance": 0.09853
}Semantic roles & 50–950 ramp
primary
#126631
secondary
#9E3677
accent
#3BABED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A