#126C1F#126C1F
#126C1F is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.5% C 0.138 H 144.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #126C1F |
|---|---|
| RGB | rgb(18, 108, 31) |
| HSL | hsl(129, 71%, 25%) |
| HSV | hsv(129, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 71.3%, 57.6%) |
| CIE-LAB | lab(39.50, -41.71, 34.61) |
| CIE-LCH | lch(39.50, 54.20, 140.31°) |
| OKLab | oklab(46.47% -0.1126 0.0797) |
| OKLCH | oklch(46.47% 0.138 144.7) |
| XYZ | xyz(5.8589, 10.9519, 3.1012) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.83
Darkish Green
#287C37
ΔE00 6.03
Deep Green
#02590F
ΔE00 6.13
Tree Green
#2A7E19
ΔE00 7.06
Forest
#0B5509
ΔE00 7.40
Forest Green
#2D5A27
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C1F #6C125F
analogous
#326C12 #126C1F #126C4C
triadic
#126C1F #1F126C #6C1F12
tetradic
#126C1F #12326C #6C125F #6C4C12
square
#126C1F #12326C #6C125F #6C4C12
split-complementary
#126C1F #4C126C #6C1232
monochromatic
#041A08 #093810 #126C1F #1BA02E #23D53D
Accessibility & contrast
On white
6.58
#126C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#126C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C1F
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C1F | 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)
#6E6114
Deuteranopia (green-blind)
#645A26
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #126c1f; /* rgb */ color: rgb(18, 108, 31); /* oklch */ color: oklch(46.5% 0.138 144.7);
Tailwind
colors: {
custom: {
50: '#62975f',
500: '#126c1f',
950: '#000000',
},
}SCSS
$custom: #126c1f; $custom-light: #62975f; $custom-dark: #000000;
JSON
{
"hex": "#126c1f",
"rgb": {
"r": 18,
"g": 108,
"b": 31
},
"hsl": {
"h": 128.667,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.46472,
"c": 0.13796,
"h": 144.7
},
"luminance": 0.10953
}Semantic roles & 50–950 ramp
primary
#126C1F
secondary
#A33694
accent
#3AD4EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79