#1C871F#1C871F
#1C871F is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.5% C 0.168 H 143.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1C871F |
|---|---|
| RGB | rgb(28, 135, 31) |
| HSL | hsl(122, 66%, 32%) |
| HSV | hsv(122, 79%, 53%) |
| CMYK | cmyk(79.3%, 0%, 77%, 47.1%) |
| CIE-LAB | lab(49.10, -49.45, 44.59) |
| CIE-LCH | lch(49.10, 66.59, 137.96°) |
| OKLab | oklab(54.5% -0.1341 0.1006) |
| OKLCH | oklch(54.5% 0.168 143.1) |
| XYZ | xyz(9.3896, 17.6726, 4.2124) |
| Luminance | 0.1767 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.50
Emerald Green
#028F1E
ΔE00 2.86
Green
#008000
ΔE00 3.25
Tree Green
#2A7E19
ΔE00 3.30
Dark Grass Green
#388004
ΔE00 4.41
Irish Green
#019529
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C871F #871C84
analogous
#4F871C #1C871F #1C8755
triadic
#1C871F #1F1C87 #871F1C
tetradic
#1C871F #1C4F87 #871C84 #87551C
square
#1C871F #1C4F87 #871C84 #87551C
split-complementary
#1C871F #551C87 #871C4F
monochromatic
#072208 #115413 #1C871F #27BA2B #45D849
Accessibility & contrast
On white
4.63
#1C871F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#1C871F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #1C871F
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C871F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C871F | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A09
Deuteranopia (green-blind)
#7E722A
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #1c871f; /* rgb */ color: rgb(28, 135, 31); /* oklch */ color: oklch(54.5% 0.168 143.1);
Tailwind
colors: {
custom: {
50: '#6dab62',
500: '#1c871f',
950: '#000000',
},
}SCSS
$custom: #1c871f; $custom-light: #6dab62; $custom-dark: #000000;
JSON
{
"hex": "#1c871f",
"rgb": {
"r": 28,
"g": 135,
"b": 31
},
"hsl": {
"h": 121.682,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.54498,
"c": 0.16761,
"h": 143.1
},
"luminance": 0.17674
}Semantic roles & 50–950 ramp
primary
#1C871F
secondary
#BA45B7
accent
#3FE4E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A