#126C15#126C15
#126C15 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.145 H 143.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #126C15 |
|---|---|
| RGB | rgb(18, 108, 21) |
| HSL | hsl(122, 71%, 25%) |
| HSV | hsv(122, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 80.6%, 57.6%) |
| CIE-LAB | lab(39.42, -42.65, 38.62) |
| CIE-LCH | lch(39.42, 57.54, 137.83°) |
| OKLab | oklab(46.39% -0.1156 0.0867) |
| OKLCH | oklch(46.39% 0.145 143.1) |
| XYZ | xyz(5.7470, 10.9072, 2.5117) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.97
Deep Green
#02590F
ΔE00 6.26
Tree Green
#2A7E19
ΔE00 6.56
Darkish Green
#287C37
ΔE00 6.66
Green
#008000
ΔE00 7.28
Forest
#0B5509
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C15 #6C1269
analogous
#3C6C12 #126C15 #126C42
triadic
#126C15 #15126C #6C1512
tetradic
#126C15 #123C6C #6C1269 #6C4212
square
#126C15 #123C6C #6C1269 #6C4212
split-complementary
#126C15 #42126C #6C123C
monochromatic
#041A05 #09380B #126C15 #1BA01F #23D529
Accessibility & contrast
On white
6.60
#126C15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#126C15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C15
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C15 | 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)
#6E6102
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #126c15; /* rgb */ color: rgb(18, 108, 21); /* oklch */ color: oklch(46.4% 0.145 143.1);
Tailwind
colors: {
custom: {
50: '#63975a',
500: '#126c15',
950: '#000000',
},
}SCSS
$custom: #126c15; $custom-light: #63975a; $custom-dark: #000000;
JSON
{
"hex": "#126c15",
"rgb": {
"r": 18,
"g": 108,
"b": 21
},
"hsl": {
"h": 122,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.46385,
"c": 0.14454,
"h": 143.1
},
"luminance": 0.10908
}Semantic roles & 50–950 ramp
primary
#126C15
secondary
#A336A0
accent
#3AE8EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79