#1C8A1F#1C8A1F
#1C8A1F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.171 H 143.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1C8A1F |
|---|---|
| RGB | rgb(28, 138, 31) |
| HSL | hsl(122, 66%, 33%) |
| HSV | hsv(122, 80%, 54%) |
| CMYK | cmyk(79.7%, 0%, 77.5%, 45.9%) |
| CIE-LAB | lab(50.12, -50.44, 45.61) |
| CIE-LCH | lch(50.12, 68.01, 137.88°) |
| OKLab | oklab(55.35% -0.1368 0.1027) |
| OKLCH | oklch(55.35% 0.171 143.1) |
| XYZ | xyz(9.8141, 18.5216, 4.3539) |
| Luminance | 0.1852 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.54
Emerald Green
#028F1E
ΔE00 1.84
Irish Green
#019529
ΔE00 3.88
Green
#008000
ΔE00 4.07
True Green
#089404
ΔE00 4.09
Kelley Green
#009337
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C8A1F #8A1C87
analogous
#508A1C #1C8A1F #1C8A56
triadic
#1C8A1F #1F1C8A #8A1F1C
tetradic
#1C8A1F #1C508A #8A1C87 #8A561C
square
#1C8A1F #1C508A #8A1C87 #8A561C
split-complementary
#1C8A1F #561C8A #8A1C50
monochromatic
#072408 #125714 #1C8A1F #26BD2A #47DA4B
Accessibility & contrast
On white
4.46
#1C8A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#1C8A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1C8A1F
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C8A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1C8A1F | 1.00 | 4.46 | 4.70 | 4.70 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #1c8a1f; /* rgb */ color: rgb(28, 138, 31); /* oklch */ color: oklch(55.4% 0.171 143.1);
Tailwind
colors: {
custom: {
50: '#6dad63',
500: '#1c8a1f',
950: '#000000',
},
}SCSS
$custom: #1c8a1f; $custom-light: #6dad63; $custom-dark: #000000;
JSON
{
"hex": "#1c8a1f",
"rgb": {
"r": 28,
"g": 138,
"b": 31
},
"hsl": {
"h": 121.636,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.55352,
"c": 0.17104,
"h": 143.1
},
"luminance": 0.18523
}Semantic roles & 50–950 ramp
primary
#1C8A1F
secondary
#BB46B8
accent
#3FE5E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A