#126C17#126C17
#126C17 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.143 H 143.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #126C17 |
|---|---|
| RGB | rgb(18, 108, 23) |
| HSL | hsl(123, 71%, 25%) |
| HSV | hsv(123, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 78.7%, 57.6%) |
| CIE-LAB | lab(39.44, -42.48, 37.89) |
| CIE-LCH | lch(39.44, 56.93, 138.27°) |
| OKLab | oklab(46.4% -0.1151 0.0855) |
| OKLCH | oklch(46.4% 0.143 143.4) |
| XYZ | xyz(5.7663, 10.9149, 2.6133) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.09
Deep Green
#02590F
ΔE00 6.21
Darkish Green
#287C37
ΔE00 6.53
Tree Green
#2A7E19
ΔE00 6.63
Forest
#0B5509
ΔE00 7.37
Green
#008000
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C17 #6C1267
analogous
#3A6C12 #126C17 #126C44
triadic
#126C17 #17126C #6C1712
tetradic
#126C17 #123A6C #6C1267 #6C4412
square
#126C17 #123A6C #6C1267 #6C4412
split-complementary
#126C17 #44126C #6C123A
monochromatic
#041A06 #09380C #126C17 #1BA022 #23D52D
Accessibility & contrast
On white
6.60
#126C17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#126C17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C17
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C17 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6106
Deuteranopia (green-blind)
#655A20
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #126c17; /* rgb */ color: rgb(18, 108, 23); /* oklch */ color: oklch(46.4% 0.143 143.4);
Tailwind
colors: {
custom: {
50: '#63975b',
500: '#126c17',
950: '#000000',
},
}SCSS
$custom: #126c17; $custom-light: #63975b; $custom-dark: #000000;
JSON
{
"hex": "#126c17",
"rgb": {
"r": 18,
"g": 108,
"b": 23
},
"hsl": {
"h": 123.333,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.464,
"c": 0.14337,
"h": 143.4
},
"luminance": 0.10916
}Semantic roles & 50–950 ramp
primary
#126C17
secondary
#A3369D
accent
#3AE4EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79