#285C15#285C15
#285C15 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.116 H 138.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #285C15 |
|---|---|
| RGB | rgb(40, 92, 21) |
| HSL | hsl(104, 63%, 22%) |
| HSV | hsv(104, 77%, 36%) |
| CMYK | cmyk(56.5%, 0%, 77.2%, 63.9%) |
| CIE-LAB | lab(34.31, -31.57, 33.72) |
| CIE-LCH | lch(34.31, 46.19, 133.11°) |
| OKLab | oklab(42.32% -0.087 0.0763) |
| OKLCH | oklch(42.32% 0.116 138.8) |
| XYZ | xyz(4.8374, 8.1592, 2.0293) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.41
Forest
#0B5509
ΔE00 3.42
Forest Green
#2D5A27
ΔE00 3.85
Darkgreen
#006400
ΔE00 4.62
Navy Green
#35530A
ΔE00 4.83
Bottle Green
#044A05
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285C15 #49155C
analogous
#4C5C15 #285C15 #155C26
triadic
#285C15 #15285C #5C1528
tetradic
#285C15 #154C5C #49155C #5C2615
square
#285C15 #154C5C #49155C #5C2615
split-complementary
#285C15 #26155C #5C154C
monochromatic
#0B1906 #122A0A #285C15 #3E8E20 #53C02C
Accessibility & contrast
On white
7.98
#285C15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#285C15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285C15
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285C15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285C15 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5309
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#23594E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #285c15; /* rgb */ color: rgb(40, 92, 21); /* oklch */ color: oklch(42.3% 0.116 138.8);
Tailwind
colors: {
custom: {
50: '#688b57',
500: '#285c15',
950: '#000000',
},
}SCSS
$custom: #285c15; $custom-light: #688b57; $custom-dark: #000000;
JSON
{
"hex": "#285c15",
"rgb": {
"r": 40,
"g": 92,
"b": 21
},
"hsl": {
"h": 103.944,
"s": 62.832,
"l": 22.157
},
"oklch": {
"l": 0.42323,
"c": 0.11574,
"h": 138.8
},
"luminance": 0.0816
}Semantic roles & 50–950 ramp
primary
#285C15
secondary
#7B3993
accent
#42E6BA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78