#126918#126918
#126918 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.5% C 0.139 H 143.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #126918 |
|---|---|
| RGB | rgb(18, 105, 24) |
| HSL | hsl(124, 71%, 24%) |
| HSV | hsv(124, 83%, 41%) |
| CMYK | cmyk(82.9%, 0%, 77.1%, 58.8%) |
| CIE-LAB | lab(38.37, -41.37, 36.42) |
| CIE-LCH | lch(38.37, 55.11, 138.64°) |
| OKLab | oklab(45.52% -0.112 0.0826) |
| OKLCH | oklch(45.52% 0.139 143.6) |
| XYZ | xyz(5.4655, 10.2970, 2.5635) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.63
Deep Green
#02590F
ΔE00 5.18
Forest
#0B5509
ΔE00 6.38
Forest Green
#2D5A27
ΔE00 7.12
Darkish Green
#287C37
ΔE00 7.20
Tree Green
#2A7E19
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126918 #691263
analogous
#386912 #126918 #126944
triadic
#126918 #181269 #691812
tetradic
#126918 #123869 #691263 #694412
square
#126918 #123869 #691263 #694412
split-complementary
#126918 #441269 #691238
monochromatic
#041A06 #09350C #126918 #1B9D24 #24D130
Accessibility & contrast
On white
6.86
#126918 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#126918 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126918
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126918 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #126918; /* rgb */ color: rgb(18, 105, 24); /* oklch */ color: oklch(45.5% 0.139 143.6);
Tailwind
colors: {
custom: {
50: '#62955b',
500: '#126918',
950: '#000000',
},
}SCSS
$custom: #126918; $custom-light: #62955b; $custom-dark: #000000;
JSON
{
"hex": "#126918",
"rgb": {
"r": 18,
"g": 105,
"b": 24
},
"hsl": {
"h": 124.138,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.45515,
"c": 0.13914,
"h": 143.6
},
"luminance": 0.10298
}Semantic roles & 50–950 ramp
primary
#126918
secondary
#A13699
accent
#3AE1ED
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79