#126818#126818
#126818 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.2% C 0.138 H 143.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #126818 |
|---|---|
| RGB | rgb(18, 104, 24) |
| HSL | hsl(124, 70%, 24%) |
| HSV | hsv(124, 83%, 41%) |
| CMYK | cmyk(82.7%, 0%, 76.9%, 59.2%) |
| CIE-LAB | lab(38.01, -41.02, 36.05) |
| CIE-LCH | lch(38.01, 54.61, 138.68°) |
| OKLab | oklab(45.22% -0.111 0.0818) |
| OKLCH | oklch(45.22% 0.138 143.6) |
| XYZ | xyz(5.3643, 10.0945, 2.5297) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.52
Deep Green
#02590F
ΔE00 4.85
Forest
#0B5509
ΔE00 6.05
Forest Green
#2D5A27
ΔE00 6.84
Darkish Green
#287C37
ΔE00 7.45
Tree Green
#2A7E19
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126818 #681262
analogous
#376812 #126818 #126843
triadic
#126818 #181268 #681812
tetradic
#126818 #123768 #681262 #684312
square
#126818 #123768 #681262 #684312
split-complementary
#126818 #431268 #681237
monochromatic
#051A06 #09340C #126818 #1B9C24 #24D030
Accessibility & contrast
On white
6.96
#126818 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#126818 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126818
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126818 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D0A
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #126818; /* rgb */ color: rgb(18, 104, 24); /* oklch */ color: oklch(45.2% 0.138 143.6);
Tailwind
colors: {
custom: {
50: '#62945a',
500: '#126818',
950: '#000000',
},
}SCSS
$custom: #126818; $custom-light: #62945a; $custom-dark: #000000;
JSON
{
"hex": "#126818",
"rgb": {
"r": 18,
"g": 104,
"b": 24
},
"hsl": {
"h": 124.186,
"s": 70.492,
"l": 23.922
},
"oklch": {
"l": 0.45217,
"c": 0.13793,
"h": 143.6
},
"luminance": 0.10095
}Semantic roles & 50–950 ramp
primary
#126818
secondary
#A03698
accent
#3BE1ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79