#1A7818#1A7818
#1A7818 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.155 H 142.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1A7818 |
|---|---|
| RGB | rgb(26, 120, 24) |
| HSL | hsl(119, 67%, 28%) |
| HSV | hsv(119, 80%, 47%) |
| CMYK | cmyk(78.3%, 0%, 80%, 52.9%) |
| CIE-LAB | lab(43.83, -45.27, 41.90) |
| CIE-LCH | lch(43.83, 61.68, 137.21°) |
| OKLab | oklab(50.09% -0.123 0.094) |
| OKLCH | oklch(50.09% 0.155 142.6) |
| XYZ | xyz(7.3069, 13.7177, 3.1267) |
| Luminance | 0.1372 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.57
Green
#008000
ΔE00 3.46
Darkish Green
#287C37
ΔE00 4.60
Dark Grass Green
#388004
ΔE00 5.05
Darkgreen
#006400
ΔE00 6.74
Forestgreen (CSS)
#228B22
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A7818 #761878
analogous
#4A7818 #1A7818 #187846
triadic
#1A7818 #181A78 #78181A
tetradic
#1A7818 #184A78 #761878 #784618
square
#1A7818 #184A78 #761878 #784618
split-complementary
#1A7818 #461878 #78184A
monochromatic
#061A05 #0F450E #1A7818 #25AB22 #37D634
Accessibility & contrast
On white
5.61
#1A7818 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#1A7818 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1A7818
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A7818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A7818 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#706523
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #1a7818; /* rgb */ color: rgb(26, 120, 24); /* oklch */ color: oklch(50.1% 0.155 142.6);
Tailwind
colors: {
custom: {
50: '#68a05d',
500: '#1a7818',
950: '#000000',
},
}SCSS
$custom: #1a7818; $custom-light: #68a05d; $custom-dark: #000000;
JSON
{
"hex": "#1a7818",
"rgb": {
"r": 26,
"g": 120,
"b": 24
},
"hsl": {
"h": 118.75,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.50092,
"c": 0.15476,
"h": 142.6
},
"luminance": 0.13719
}Semantic roles & 50–950 ramp
primary
#1A7818
secondary
#AB3FAD
accent
#3EEAE6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79