#285C17#285C17
#285C17 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.114 H 139.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #285C17 |
|---|---|
| RGB | rgb(40, 92, 23) |
| HSL | hsl(105, 60%, 23%) |
| HSV | hsv(105, 75%, 36%) |
| CMYK | cmyk(56.5%, 0%, 75%, 63.9%) |
| CIE-LAB | lab(34.33, -31.39, 32.88) |
| CIE-LCH | lch(34.33, 45.46, 133.68°) |
| OKLab | oklab(42.34% -0.0864 0.0748) |
| OKLCH | oklch(42.34% 0.114 139.1) |
| XYZ | xyz(4.8567, 8.1669, 2.1309) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.37
Forest
#0B5509
ΔE00 3.43
Forest Green
#2D5A27
ΔE00 3.54
Darkgreen
#006400
ΔE00 4.77
Navy Green
#35530A
ΔE00 4.97
Bottle Green
#044A05
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285C17 #4B175C
analogous
#4B5C17 #285C17 #175C28
triadic
#285C17 #17285C #5C1728
tetradic
#285C17 #174B5C #4B175C #5C2817
square
#285C17 #174B5C #4B175C #5C2817
split-complementary
#285C17 #28175C #5C174B
monochromatic
#0B1806 #132B0B #285C17 #3D8D23 #53BE2F
Accessibility & contrast
On white
7.97
#285C17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#285C17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285C17
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285C17 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F530C
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#23594E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #285c17; /* rgb */ color: rgb(40, 92, 23); /* oklch */ color: oklch(42.3% 0.114 139.1);
Tailwind
colors: {
custom: {
50: '#688b58',
500: '#285c17',
950: '#000000',
},
}SCSS
$custom: #285c17; $custom-light: #688b58; $custom-dark: #000000;
JSON
{
"hex": "#285c17",
"rgb": {
"r": 40,
"g": 92,
"b": 23
},
"hsl": {
"h": 105.217,
"s": 60,
"l": 22.549
},
"oklch": {
"l": 0.42341,
"c": 0.11431,
"h": 139.1
},
"luminance": 0.08167
}Semantic roles & 50–950 ramp
primary
#285C17
secondary
#7D3C93
accent
#45E3BC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79