#126C1D#126C1D
#126C1D is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.139 H 144.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #126C1D |
|---|---|
| RGB | rgb(18, 108, 29) |
| HSL | hsl(127, 71%, 25%) |
| HSV | hsv(127, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 73.1%, 57.6%) |
| CIE-LAB | lab(39.48, -41.92, 35.48) |
| CIE-LCH | lch(39.48, 54.92, 139.76°) |
| OKLab | oklab(46.45% -0.1133 0.0813) |
| OKLCH | oklch(46.45% 0.139 144.3) |
| XYZ | xyz(5.8334, 10.9417, 2.9667) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.61
Deep Green
#02590F
ΔE00 6.13
Darkish Green
#287C37
ΔE00 6.15
Tree Green
#2A7E19
ΔE00 6.93
Forest
#0B5509
ΔE00 7.37
Forest Green
#2D5A27
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C1D #6C1261
analogous
#346C12 #126C1D #126C4A
triadic
#126C1D #1D126C #6C1D12
tetradic
#126C1D #12346C #6C1261 #6C4A12
square
#126C1D #12346C #6C1261 #6C4A12
split-complementary
#126C1D #4A126C #6C1234
monochromatic
#041A07 #09380F #126C1D #1BA02B #23D539
Accessibility & contrast
On white
6.59
#126C1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#126C1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C1D
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C1D | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6111
Deuteranopia (green-blind)
#645A25
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #126c1d; /* rgb */ color: rgb(18, 108, 29); /* oklch */ color: oklch(46.5% 0.139 144.3);
Tailwind
colors: {
custom: {
50: '#62975e',
500: '#126c1d',
950: '#000000',
},
}SCSS
$custom: #126c1d; $custom-light: #62975e; $custom-dark: #000000;
JSON
{
"hex": "#126c1d",
"rgb": {
"r": 18,
"g": 108,
"b": 29
},
"hsl": {
"h": 127.333,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.46452,
"c": 0.13941,
"h": 144.3
},
"luminance": 0.10942
}Semantic roles & 50–950 ramp
primary
#126C1D
secondary
#A33696
accent
#3AD8EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79