#1C8D1F#1C8D1F
#1C8D1F is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.174 H 143.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1C8D1F |
|---|---|
| RGB | rgb(28, 141, 31) |
| HSL | hsl(122, 67%, 33%) |
| HSV | hsv(122, 80%, 55%) |
| CMYK | cmyk(80.1%, 0%, 78%, 44.7%) |
| CIE-LAB | lab(51.15, -51.42, 46.62) |
| CIE-LCH | lch(51.15, 69.41, 137.80°) |
| OKLab | oklab(56.2% -0.1394 0.1048) |
| OKLCH | oklch(56.2% 0.174 143.1) |
| XYZ | xyz(10.2504, 19.3943, 4.4993) |
| Luminance | 0.1940 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.81
Emerald Green
#028F1E
ΔE00 1.00
Irish Green
#019529
ΔE00 2.93
True Green
#089404
ΔE00 3.14
Kelley Green
#009337
ΔE00 3.75
Green
#008000
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C8D1F #8D1C8A
analogous
#518D1C #1C8D1F #1C8D57
triadic
#1C8D1F #1F1C8D #8D1F1C
tetradic
#1C8D1F #1C518D #8D1C8A #8D571C
square
#1C8D1F #1C518D #8D1C8A #8D571C
split-complementary
#1C8D1F #571C8D #8D1C51
monochromatic
#082709 #125A14 #1C8D1F #26C02A #49DB4C
Accessibility & contrast
On white
4.30
#1C8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#1C8D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1C8D1F
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C8D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1C8D1F | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #1c8d1f; /* rgb */ color: rgb(28, 141, 31); /* oklch */ color: oklch(56.2% 0.174 143.1);
Tailwind
colors: {
custom: {
50: '#6eaf63',
500: '#1c8d1f',
950: '#000000',
},
}SCSS
$custom: #1c8d1f; $custom-light: #6eaf63; $custom-dark: #000000;
JSON
{
"hex": "#1c8d1f",
"rgb": {
"r": 28,
"g": 141,
"b": 31
},
"hsl": {
"h": 121.593,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.56202,
"c": 0.17443,
"h": 143.1
},
"luminance": 0.19396
}Semantic roles & 50–950 ramp
primary
#1C8D1F
secondary
#BD48BA
accent
#3EE5EA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A