#126031#126031
#126031 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.105 H 151.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #126031 |
|---|---|
| RGB | rgb(18, 96, 49) |
| HSL | hsl(144, 68%, 22%) |
| HSV | hsv(144, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 49%, 62.4%) |
| CIE-LAB | lab(35.43, -34.51, 20.44) |
| CIE-LCH | lch(35.43, 40.10, 149.37°) |
| OKLab | oklab(43.17% -0.0928 0.0502) |
| OKLCH | oklch(43.17% 0.105 151.6) |
| XYZ | xyz(4.9863, 8.7155, 4.3246) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.33
Pine
#2B5D34
ΔE00 3.20
Forest Green
#2D5A27
ΔE00 4.69
Hunter Green
#355E3B
ΔE00 5.19
Deep Green
#02590F
ΔE00 6.16
Forest
#0B5509
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126031 #601241
analogous
#1A6012 #126031 #126058
triadic
#126031 #311260 #603112
tetradic
#126031 #121A60 #601241 #605812
square
#126031 #121A60 #601241 #605812
split-complementary
#126031 #581260 #60121A
monochromatic
#051A0D #082C17 #126031 #1C944B #25C766
Accessibility & contrast
On white
7.66
#126031 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#126031 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126031
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126031 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126031 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60572D
Deuteranopia (green-blind)
#575134
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #126031; /* rgb */ color: rgb(18, 96, 49); /* oklch */ color: oklch(43.2% 0.105 151.6);
Tailwind
colors: {
custom: {
50: '#5e8e6a',
500: '#126031',
950: '#000000',
},
}SCSS
$custom: #126031; $custom-light: #5e8e6a; $custom-dark: #000000;
JSON
{
"hex": "#126031",
"rgb": {
"r": 18,
"g": 96,
"b": 49
},
"hsl": {
"h": 143.846,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.43171,
"c": 0.10546,
"h": 151.6
},
"luminance": 0.08716
}Semantic roles & 50–950 ramp
primary
#126031
secondary
#983671
accent
#3DA6EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A