#1C7E18#1C7E18
#1C7E18 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.161 H 142.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7E18 |
|---|---|
| RGB | rgb(28, 126, 24) |
| HSL | hsl(118, 68%, 29%) |
| HSV | hsv(118, 81%, 49%) |
| CMYK | cmyk(77.8%, 0%, 81%, 50.6%) |
| CIE-LAB | lab(45.95, -46.97, 43.98) |
| CIE-LCH | lch(45.95, 64.34, 136.88°) |
| OKLab | oklab(51.87% -0.1277 0.0983) |
| OKLCH | oklch(51.87% 0.161 142.4) |
| XYZ | xyz(8.1041, 15.2336, 3.3772) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.09
Green
#008000
ΔE00 1.92
Dark Grass Green
#388004
ΔE00 3.77
Forestgreen (CSS)
#228B22
ΔE00 4.67
Darkish Green
#287C37
ΔE00 4.84
Emerald Green
#028F1E
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7E18 #7A187E
analogous
#4F7E18 #1C7E18 #187E47
triadic
#1C7E18 #181C7E #7E181C
tetradic
#1C7E18 #184F7E #7A187E #7E4718
square
#1C7E18 #184F7E #7A187E #7E4718
split-complementary
#1C7E18 #47187E #7E184F
monochromatic
#061A05 #114B0E #1C7E18 #27B122 #3ED937
Accessibility & contrast
On white
5.19
#1C7E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#1C7E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7E18
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7E18 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1c7e18; /* rgb */ color: rgb(28, 126, 24); /* oklch */ color: oklch(51.9% 0.161 142.4);
Tailwind
colors: {
custom: {
50: '#6ba45e',
500: '#1c7e18',
950: '#000000',
},
}SCSS
$custom: #1c7e18; $custom-light: #6ba45e; $custom-dark: #000000;
JSON
{
"hex": "#1c7e18",
"rgb": {
"r": 28,
"g": 126,
"b": 24
},
"hsl": {
"h": 117.647,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.51871,
"c": 0.16112,
"h": 142.4
},
"luminance": 0.15235
}Semantic roles & 50–950 ramp
primary
#1C7E18
secondary
#AE3FB2
accent
#3DEBE4
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79