#126C1E#126C1E
#126C1E is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.139 H 144.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #126C1E |
|---|---|
| RGB | rgb(18, 108, 30) |
| HSL | hsl(128, 71%, 25%) |
| HSV | hsv(128, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 72.2%, 57.6%) |
| CIE-LAB | lab(39.49, -41.82, 35.05) |
| CIE-LCH | lch(39.49, 54.56, 140.03°) |
| OKLab | oklab(46.46% -0.1129 0.0805) |
| OKLCH | oklch(46.46% 0.139 144.5) |
| XYZ | xyz(5.8460, 10.9468, 3.0329) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.72
Darkish Green
#287C37
ΔE00 6.09
Deep Green
#02590F
ΔE00 6.12
Tree Green
#2A7E19
ΔE00 6.99
Forest
#0B5509
ΔE00 7.38
Forest Green
#2D5A27
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C1E #6C1260
analogous
#336C12 #126C1E #126C4B
triadic
#126C1E #1E126C #6C1E12
tetradic
#126C1E #12336C #6C1260 #6C4B12
square
#126C1E #12336C #6C1260 #6C4B12
split-complementary
#126C1E #4B126C #6C1233
monochromatic
#041A07 #09380F #126C1E #1BA02D #23D53B
Accessibility & contrast
On white
6.58
#126C1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#126C1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C1E
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C1E | 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)
#6E6113
Deuteranopia (green-blind)
#645A26
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #126c1e; /* rgb */ color: rgb(18, 108, 30); /* oklch */ color: oklch(46.5% 0.139 144.5);
Tailwind
colors: {
custom: {
50: '#62975e',
500: '#126c1e',
950: '#000000',
},
}SCSS
$custom: #126c1e; $custom-light: #62975e; $custom-dark: #000000;
JSON
{
"hex": "#126c1e",
"rgb": {
"r": 18,
"g": 108,
"b": 30
},
"hsl": {
"h": 128,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.46462,
"c": 0.13869,
"h": 144.5
},
"luminance": 0.10947
}Semantic roles & 50–950 ramp
primary
#126C1E
secondary
#A33695
accent
#3AD6EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79