#126A1F#126A1F
#126A1F is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.135 H 144.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #126A1F |
|---|---|
| RGB | rgb(18, 106, 31) |
| HSL | hsl(129, 71%, 24%) |
| HSV | hsv(129, 83%, 42%) |
| CMYK | cmyk(83%, 0%, 70.8%, 58.4%) |
| CIE-LAB | lab(38.79, -41.00, 33.84) |
| CIE-LCH | lch(38.79, 53.16, 140.47°) |
| OKLab | oklab(45.88% -0.1107 0.0781) |
| OKLCH | oklch(45.88% 0.135 144.8) |
| XYZ | xyz(5.6504, 10.5349, 3.0317) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.60
Deep Green
#02590F
ΔE00 5.49
Darkish Green
#287C37
ΔE00 6.57
Forest
#0B5509
ΔE00 6.77
Forest Green
#2D5A27
ΔE00 6.93
Tree Green
#2A7E19
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126A1F #6A125D
analogous
#316A12 #126A1F #126A4B
triadic
#126A1F #1F126A #6A1F12
tetradic
#126A1F #12316A #6A125D #6A4B12
square
#126A1F #12316A #6A125D #6A4B12
split-complementary
#126A1F #4B126A #6A1231
monochromatic
#041A08 #093610 #126A1F #1B9E2E #24D33E
Accessibility & contrast
On white
6.76
#126A1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#126A1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126A1F
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126A1F | 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)
#6C5F15
Deuteranopia (green-blind)
#625926
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #126a1f; /* rgb */ color: rgb(18, 106, 31); /* oklch */ color: oklch(45.9% 0.135 144.8);
Tailwind
colors: {
custom: {
50: '#62965f',
500: '#126a1f',
950: '#000000',
},
}SCSS
$custom: #126a1f; $custom-light: #62965f; $custom-dark: #000000;
JSON
{
"hex": "#126a1f",
"rgb": {
"r": 18,
"g": 106,
"b": 31
},
"hsl": {
"h": 128.864,
"s": 70.968,
"l": 24.314
},
"oklch": {
"l": 0.45879,
"c": 0.13545,
"h": 144.8
},
"luminance": 0.10536
}Semantic roles & 50–950 ramp
primary
#126A1F
secondary
#A23692
accent
#3AD3EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79