#126C18#126C18
#126C18 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.143 H 143.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #126C18 |
|---|---|
| RGB | rgb(18, 108, 24) |
| HSL | hsl(124, 71%, 25%) |
| HSV | hsv(124, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 77.8%, 57.6%) |
| CIE-LAB | lab(39.44, -42.40, 37.51) |
| CIE-LCH | lch(39.44, 56.61, 138.50°) |
| OKLab | oklab(46.41% -0.1148 0.0849) |
| OKLCH | oklch(46.41% 0.143 143.5) |
| XYZ | xyz(5.7765, 10.9190, 2.6671) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.16
Deep Green
#02590F
ΔE00 6.19
Darkish Green
#287C37
ΔE00 6.46
Tree Green
#2A7E19
ΔE00 6.67
Forest
#0B5509
ΔE00 7.37
Green
#008000
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C18 #6C1266
analogous
#396C12 #126C18 #126C45
triadic
#126C18 #18126C #6C1812
tetradic
#126C18 #12396C #6C1266 #6C4512
square
#126C18 #12396C #6C1266 #6C4512
split-complementary
#126C18 #45126C #6C1239
monochromatic
#041A06 #09380C #126C18 #1BA024 #23D52F
Accessibility & contrast
On white
6.60
#126C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#126C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C18
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C18 | 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)
#6E6108
Deuteranopia (green-blind)
#655A21
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #126c18; /* rgb */ color: rgb(18, 108, 24); /* oklch */ color: oklch(46.4% 0.143 143.5);
Tailwind
colors: {
custom: {
50: '#63975b',
500: '#126c18',
950: '#000000',
},
}SCSS
$custom: #126c18; $custom-light: #63975b; $custom-dark: #000000;
JSON
{
"hex": "#126c18",
"rgb": {
"r": 18,
"g": 108,
"b": 24
},
"hsl": {
"h": 124,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.46408,
"c": 0.14275,
"h": 143.5
},
"luminance": 0.1092
}Semantic roles & 50–950 ramp
primary
#126C18
secondary
#A3369C
accent
#3AE2EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79