#126A1E#126A1E
#126A1E is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.136 H 144.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #126A1E |
|---|---|
| RGB | rgb(18, 106, 30) |
| HSL | hsl(128, 71%, 24%) |
| HSV | hsv(128, 83%, 42%) |
| CMYK | cmyk(83%, 0%, 71.7%, 58.4%) |
| CIE-LAB | lab(38.78, -41.11, 34.28) |
| CIE-LCH | lch(38.78, 53.53, 140.18°) |
| OKLab | oklab(45.87% -0.111 0.0789) |
| OKLCH | oklch(45.87% 0.136 144.6) |
| XYZ | xyz(5.6374, 10.5297, 2.9634) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.46
Deep Green
#02590F
ΔE00 5.48
Darkish Green
#287C37
ΔE00 6.62
Forest
#0B5509
ΔE00 6.75
Forest Green
#2D5A27
ΔE00 6.99
Tree Green
#2A7E19
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126A1E #6A125E
analogous
#326A12 #126A1E #126A4A
triadic
#126A1E #1E126A #6A1E12
tetradic
#126A1E #12326A #6A125E #6A4A12
square
#126A1E #12326A #6A125E #6A4A12
split-complementary
#126A1E #4A126A #6A1232
monochromatic
#041A07 #09360F #126A1E #1B9E2D #24D33C
Accessibility & contrast
On white
6.76
#126A1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#126A1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126A1E
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126A1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126A1E | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F13
Deuteranopia (green-blind)
#625925
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #126a1e; /* rgb */ color: rgb(18, 106, 30); /* oklch */ color: oklch(45.9% 0.136 144.6);
Tailwind
colors: {
custom: {
50: '#62965e',
500: '#126a1e',
950: '#000000',
},
}SCSS
$custom: #126a1e; $custom-light: #62965e; $custom-dark: #000000;
JSON
{
"hex": "#126a1e",
"rgb": {
"r": 18,
"g": 106,
"b": 30
},
"hsl": {
"h": 128.182,
"s": 70.968,
"l": 24.314
},
"oklch": {
"l": 0.45869,
"c": 0.13621,
"h": 144.6
},
"luminance": 0.1053
}Semantic roles & 50–950 ramp
primary
#126A1E
secondary
#A23693
accent
#3AD5EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79