#126F40#126F40
#126F40 is a mid, moderate green. Relative luminance 0.119; OKLCH L 47.9% C 0.112 H 154.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #126F40 |
|---|---|
| RGB | rgb(18, 111, 64) |
| HSL | hsl(150, 72%, 25%) |
| HSV | hsv(150, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 42.3%, 56.5%) |
| CIE-LAB | lab(41.00, -37.54, 19.02) |
| CIE-LCH | lch(41.00, 42.08, 153.14°) |
| OKLab | oklab(47.86% -0.1011 0.0473) |
| OKLCH | oklch(47.86% 0.112 154.9) |
| XYZ | xyz(6.8586, 11.8668, 6.7785) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.41
Darkish Green
#287C37
ΔE00 6.60
Pine
#2B5D34
ΔE00 6.74
Jungle Green
#048243
ΔE00 6.97
Hunter Green
#355E3B
ΔE00 7.55
Forest Green
#2D5A27
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F40 #6F1241
analogous
#136F12 #126F40 #126F6E
triadic
#126F40 #40126F #6F4012
tetradic
#126F40 #12136F #6F1241 #6F6E12
square
#126F40 #12136F #6F1241 #6F6E12
split-complementary
#126F40 #6E126F #6F1213
monochromatic
#041A0F #093A22 #126F40 #1BA45E #23D87D
Accessibility & contrast
On white
6.22
#126F40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#126F40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F40
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F40 | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F653D
Deuteranopia (green-blind)
#645E43
Tritanopia (blue-blind)
#006E63
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #126f40; /* rgb */ color: rgb(18, 111, 64); /* oklch */ color: oklch(47.9% 0.112 154.9);
Tailwind
colors: {
custom: {
50: '#629975',
500: '#126f40',
950: '#000000',
},
}SCSS
$custom: #126f40; $custom-light: #629975; $custom-dark: #000000;
JSON
{
"hex": "#126f40",
"rgb": {
"r": 18,
"g": 111,
"b": 64
},
"hsl": {
"h": 149.677,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47863,
"c": 0.11162,
"h": 154.9
},
"luminance": 0.11868
}Semantic roles & 50–950 ramp
primary
#126F40
secondary
#A6376F
accent
#3995EF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B