#1C6917#1C6917
#1C6917 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.7% C 0.137 H 142.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1C6917 |
|---|---|
| RGB | rgb(28, 105, 23) |
| HSL | hsl(116, 64%, 25%) |
| HSV | hsv(116, 78%, 41%) |
| CMYK | cmyk(73.3%, 0%, 78.1%, 58.8%) |
| CIE-LAB | lab(38.57, -39.68, 37.09) |
| CIE-LCH | lch(38.57, 54.32, 136.93°) |
| OKLab | oklab(45.74% -0.108 0.0838) |
| OKLCH | oklch(45.74% 0.137 142.2) |
| XYZ | xyz(5.6848, 10.4113, 2.5204) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.64
Deep Green
#02590F
ΔE00 5.38
Forest
#0B5509
ΔE00 6.44
Forest Green
#2D5A27
ΔE00 7.01
Darkish Green
#287C37
ΔE00 7.25
Tree Green
#2A7E19
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C6917 #641769
analogous
#456917 #1C6917 #17693B
triadic
#1C6917 #171C69 #69171C
tetradic
#1C6917 #174569 #641769 #693B17
square
#1C6917 #174569 #641769 #693B17
split-complementary
#1C6917 #3B1769 #691745
monochromatic
#071905 #0F370C #1C6917 #299B22 #37CD2D
Accessibility & contrast
On white
6.81
#1C6917 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#1C6917 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C6917
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C6917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C6917 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#635820
Tritanopia (blue-blind)
#076659
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #1c6917; /* rgb */ color: rgb(28, 105, 23); /* oklch */ color: oklch(45.7% 0.137 142.2);
Tailwind
colors: {
custom: {
50: '#65955a',
500: '#1c6917',
950: '#000000',
},
}SCSS
$custom: #1c6917; $custom-light: #65955a; $custom-dark: #000000;
JSON
{
"hex": "#1c6917",
"rgb": {
"r": 28,
"g": 105,
"b": 23
},
"hsl": {
"h": 116.341,
"s": 64.063,
"l": 25.098
},
"oklch": {
"l": 0.45739,
"c": 0.13669,
"h": 142.2
},
"luminance": 0.10412
}Semantic roles & 50–950 ramp
primary
#1C6917
secondary
#993D9F
accent
#41E7DD
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79