#1C7F17#1C7F17
#1C7F17 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.163 H 142.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7F17 |
|---|---|
| RGB | rgb(28, 127, 23) |
| HSL | hsl(117, 69%, 29%) |
| HSV | hsv(117, 82%, 50%) |
| CMYK | cmyk(78%, 0%, 81.9%, 50.2%) |
| CIE-LAB | lab(46.29, -47.37, 44.63) |
| CIE-LCH | lch(46.29, 65.08, 136.71°) |
| OKLab | oklab(52.15% -0.1288 0.0995) |
| OKLCH | oklch(52.15% 0.163 142.3) |
| XYZ | xyz(8.2224, 15.4865, 3.3663) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.08
Green
#008000
ΔE00 1.69
Dark Grass Green
#388004
ΔE00 3.58
Forestgreen (CSS)
#228B22
ΔE00 4.32
Darkish Green
#287C37
ΔE00 5.06
Emerald Green
#028F1E
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7F17 #7A177F
analogous
#507F17 #1C7F17 #177F46
triadic
#1C7F17 #171C7F #7F171C
tetradic
#1C7F17 #17507F #7A177F #7F4617
square
#1C7F17 #17507F #7A177F #7F4617
split-complementary
#1C7F17 #46177F #7F1750
monochromatic
#061A05 #114B0E #1C7F17 #27B320 #3EDB36
Accessibility & contrast
On white
5.13
#1C7F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#1C7F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7F17
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7F17 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1c7f17; /* rgb */ color: rgb(28, 127, 23); /* oklch */ color: oklch(52.2% 0.163 142.3);
Tailwind
colors: {
custom: {
50: '#6ba55d',
500: '#1c7f17',
950: '#000000',
},
}SCSS
$custom: #1c7f17; $custom-light: #6ba55d; $custom-dark: #000000;
JSON
{
"hex": "#1c7f17",
"rgb": {
"r": 28,
"g": 127,
"b": 23
},
"hsl": {
"h": 117.115,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.52153,
"c": 0.16277,
"h": 142.3
},
"luminance": 0.15487
}Semantic roles & 50–950 ramp
primary
#1C7F17
secondary
#AE3EB4
accent
#3CECE4
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79