#1C7017#1C7017
#1C7017 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.145 H 142.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7017 |
|---|---|
| RGB | rgb(28, 112, 23) |
| HSL | hsl(117, 66%, 26%) |
| HSV | hsv(117, 79%, 44%) |
| CMYK | cmyk(75%, 0%, 79.5%, 56.1%) |
| CIE-LAB | lab(41.05, -42.21, 39.56) |
| CIE-LCH | lch(41.05, 57.84, 136.85°) |
| OKLab | oklab(47.8% -0.1148 0.0889) |
| OKLCH | oklch(47.8% 0.145 142.3) |
| XYZ | xyz(6.4273, 11.8964, 2.7679) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.25
Tree Green
#2A7E19
ΔE00 5.09
Darkish Green
#287C37
ΔE00 5.69
Green
#008000
ΔE00 6.00
Dark Grass Green
#388004
ΔE00 7.11
Deep Green
#02590F
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7017 #6B1770
analogous
#497017 #1C7017 #17703F
triadic
#1C7017 #171C70 #70171C
tetradic
#1C7017 #174970 #6B1770 #703F17
square
#1C7017 #174970 #6B1770 #703F17
split-complementary
#1C7017 #3F1770 #701749
monochromatic
#061905 #0F3D0D #1C7017 #29A321 #37D42D
Accessibility & contrast
On white
6.21
#1C7017 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#1C7017 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7017
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7017 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7017 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#026C5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #1c7017; /* rgb */ color: rgb(28, 112, 23); /* oklch */ color: oklch(47.8% 0.145 142.3);
Tailwind
colors: {
custom: {
50: '#679a5b',
500: '#1c7017',
950: '#000000',
},
}SCSS
$custom: #1c7017; $custom-light: #679a5b; $custom-dark: #000000;
JSON
{
"hex": "#1c7017",
"rgb": {
"r": 28,
"g": 112,
"b": 23
},
"hsl": {
"h": 116.629,
"s": 65.926,
"l": 26.471
},
"oklch": {
"l": 0.47797,
"c": 0.14524,
"h": 142.3
},
"luminance": 0.11897
}Semantic roles & 50–950 ramp
primary
#1C7017
secondary
#A03DA6
accent
#3FE9DF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79