#126331#126331
#126331 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.1% C 0.110 H 151.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #126331 |
|---|---|
| RGB | rgb(18, 99, 49) |
| HSL | hsl(143, 69%, 23%) |
| HSV | hsv(143, 82%, 39%) |
| CMYK | cmyk(81.8%, 0%, 50.5%, 61.2%) |
| CIE-LAB | lab(36.51, -35.71, 21.80) |
| CIE-LCH | lch(36.51, 41.84, 148.60°) |
| OKLab | oklab(44.06% -0.096 0.0533) |
| OKLCH | oklch(44.06% 0.11 151) |
| XYZ | xyz(5.2652, 9.2734, 4.4176) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.13
Pine
#2B5D34
ΔE00 3.82
Forest Green
#2D5A27
ΔE00 4.99
Hunter Green
#355E3B
ΔE00 5.69
Deep Green
#02590F
ΔE00 6.10
Forest
#0B5509
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126331 #631244
analogous
#1B6312 #126331 #126359
triadic
#126331 #311263 #633112
tetradic
#126331 #121B63 #631244 #635912
square
#126331 #121B63 #631244 #635912
split-complementary
#126331 #591263 #63121B
monochromatic
#051A0D #092F17 #126331 #1B974B #25CB64
Accessibility & contrast
On white
7.36
#126331 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#126331 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126331
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126331 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126331 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635A2D
Deuteranopia (green-blind)
#5A5335
Tritanopia (blue-blind)
#006157
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #126331; /* rgb */ color: rgb(18, 99, 49); /* oklch */ color: oklch(44.1% 0.110 151.0);
Tailwind
colors: {
custom: {
50: '#5f906a',
500: '#126331',
950: '#000000',
},
}SCSS
$custom: #126331; $custom-light: #5f906a; $custom-dark: #000000;
JSON
{
"hex": "#126331",
"rgb": {
"r": 18,
"g": 99,
"b": 49
},
"hsl": {
"h": 142.963,
"s": 69.231,
"l": 22.941
},
"oklch": {
"l": 0.4406,
"c": 0.10976,
"h": 151
},
"luminance": 0.09274
}Semantic roles & 50–950 ramp
primary
#126331
secondary
#9B3674
accent
#3CA9EC
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050D06
muted
#797D7A