#126A1D#126A1D
#126A1D is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.137 H 144.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #126A1D |
|---|---|
| RGB | rgb(18, 106, 29) |
| HSL | hsl(128, 71%, 24%) |
| HSV | hsv(128, 83%, 42%) |
| CMYK | cmyk(83%, 0%, 72.6%, 58.4%) |
| CIE-LAB | lab(38.77, -41.22, 34.72) |
| CIE-LCH | lch(38.77, 53.89, 139.89°) |
| OKLab | oklab(45.86% -0.1114 0.0797) |
| OKLCH | oklch(45.86% 0.137 144.4) |
| XYZ | xyz(5.6249, 10.5247, 2.8972) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.33
Deep Green
#02590F
ΔE00 5.47
Darkish Green
#287C37
ΔE00 6.67
Forest
#0B5509
ΔE00 6.73
Forest Green
#2D5A27
ΔE00 7.06
Tree Green
#2A7E19
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126A1D #6A125F
analogous
#336A12 #126A1D #126A49
triadic
#126A1D #1D126A #6A1D12
tetradic
#126A1D #12336A #6A125F #6A4912
square
#126A1D #12336A #6A125F #6A4912
split-complementary
#126A1D #49126A #6A1233
monochromatic
#041A07 #09360F #126A1D #1B9E2B #24D33A
Accessibility & contrast
On white
6.76
#126A1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#126A1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126A1D
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126A1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126A1D | 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)
#6C5F12
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #126a1d; /* rgb */ color: rgb(18, 106, 29); /* oklch */ color: oklch(45.9% 0.137 144.4);
Tailwind
colors: {
custom: {
50: '#62965d',
500: '#126a1d',
950: '#000000',
},
}SCSS
$custom: #126a1d; $custom-light: #62965d; $custom-dark: #000000;
JSON
{
"hex": "#126a1d",
"rgb": {
"r": 18,
"g": 106,
"b": 29
},
"hsl": {
"h": 127.5,
"s": 70.968,
"l": 24.314
},
"oklch": {
"l": 0.45859,
"c": 0.13694,
"h": 144.4
},
"luminance": 0.10525
}Semantic roles & 50–950 ramp
primary
#126A1D
secondary
#A23694
accent
#3AD7EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79