#126A1A#126A1A
#126A1A is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.139 H 143.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #126A1A |
|---|---|
| RGB | rgb(18, 106, 26) |
| HSL | hsl(125, 71%, 24%) |
| HSV | hsv(125, 83%, 42%) |
| CMYK | cmyk(83%, 0%, 75.5%, 58.4%) |
| CIE-LAB | lab(38.74, -41.52, 35.98) |
| CIE-LCH | lch(38.74, 54.95, 139.09°) |
| OKLab | oklab(45.83% -0.1123 0.0819) |
| OKLCH | oklch(45.83% 0.139 143.9) |
| XYZ | xyz(5.5896, 10.5106, 2.7112) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.98
Deep Green
#02590F
ΔE00 5.49
Forest
#0B5509
ΔE00 6.71
Darkish Green
#287C37
ΔE00 6.83
Forest Green
#2D5A27
ΔE00 7.26
Tree Green
#2A7E19
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126A1A #6A1262
analogous
#366A12 #126A1A #126A46
triadic
#126A1A #1A126A #6A1A12
tetradic
#126A1A #12366A #6A1262 #6A4612
square
#126A1A #12366A #6A1262 #6A4612
split-complementary
#126A1A #46126A #6A1236
monochromatic
#041A06 #09360D #126A1A #1B9E27 #24D334
Accessibility & contrast
On white
6.77
#126A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#126A1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126A1A
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126A1A | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F0D
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #126a1a; /* rgb */ color: rgb(18, 106, 26); /* oklch */ color: oklch(45.8% 0.139 143.9);
Tailwind
colors: {
custom: {
50: '#62965c',
500: '#126a1a',
950: '#000000',
},
}SCSS
$custom: #126a1a; $custom-light: #62965c; $custom-dark: #000000;
JSON
{
"hex": "#126a1a",
"rgb": {
"r": 18,
"g": 106,
"b": 26
},
"hsl": {
"h": 125.455,
"s": 70.968,
"l": 24.314
},
"oklch": {
"l": 0.45831,
"c": 0.13903,
"h": 143.9
},
"luminance": 0.10511
}Semantic roles & 50–950 ramp
primary
#126A1A
secondary
#A23698
accent
#3ADDEE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79