#126C20#126C20
#126C20 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.5% C 0.137 H 144.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #126C20 |
|---|---|
| RGB | rgb(18, 108, 32) |
| HSL | hsl(129, 71%, 25%) |
| HSV | hsv(129, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 70.4%, 57.6%) |
| CIE-LAB | lab(39.51, -41.60, 34.17) |
| CIE-LCH | lch(39.51, 53.83, 140.60°) |
| OKLab | oklab(46.48% -0.1122 0.0789) |
| OKLCH | oklch(46.48% 0.137 144.9) |
| XYZ | xyz(5.8723, 10.9573, 3.1717) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.96
Darkish Green
#287C37
ΔE00 5.98
Deep Green
#02590F
ΔE00 6.14
Tree Green
#2A7E19
ΔE00 7.13
Forest
#0B5509
ΔE00 7.42
Forest Green
#2D5A27
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C20 #6C125E
analogous
#316C12 #126C20 #126C4D
triadic
#126C20 #20126C #6C2012
tetradic
#126C20 #12316C #6C125E #6C4D12
square
#126C20 #12316C #6C125E #6C4D12
split-complementary
#126C20 #4D126C #6C1231
monochromatic
#041A08 #093810 #126C20 #1BA030 #23D53F
Accessibility & contrast
On white
6.58
#126C20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#126C20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C20
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C20 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6116
Deuteranopia (green-blind)
#645A27
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #126c20; /* rgb */ color: rgb(18, 108, 32); /* oklch */ color: oklch(46.5% 0.137 144.9);
Tailwind
colors: {
custom: {
50: '#62975f',
500: '#126c20',
950: '#000000',
},
}SCSS
$custom: #126c20; $custom-light: #62975f; $custom-dark: #000000;
JSON
{
"hex": "#126c20",
"rgb": {
"r": 18,
"g": 108,
"b": 32
},
"hsl": {
"h": 129.333,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.46483,
"c": 0.1372,
"h": 144.9
},
"luminance": 0.10958
}Semantic roles & 50–950 ramp
primary
#126C20
secondary
#A33692
accent
#3AD2EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79