#285B15#285B15
#285B15 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.114 H 138.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #285B15 |
|---|---|
| RGB | rgb(40, 91, 21) |
| HSL | hsl(104, 63%, 22%) |
| HSV | hsv(104, 77%, 36%) |
| CMYK | cmyk(56%, 0%, 76.9%, 64.3%) |
| CIE-LAB | lab(33.96, -31.14, 33.36) |
| CIE-LCH | lch(33.96, 45.63, 133.03°) |
| OKLab | oklab(42.03% -0.0859 0.0756) |
| OKLCH | oklch(42.03% 0.114 138.7) |
| XYZ | xyz(4.7513, 7.9871, 2.0006) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.28
Deep Green
#02590F
ΔE00 3.40
Forest Green
#2D5A27
ΔE00 3.70
Navy Green
#35530A
ΔE00 4.63
Darkgreen
#006400
ΔE00 4.89
Bottle Green
#044A05
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285B15 #48155B
analogous
#4B5B15 #285B15 #155B25
triadic
#285B15 #15285B #5B1528
tetradic
#285B15 #154B5B #48155B #5B2515
square
#285B15 #154B5B #48155B #5B2515
split-complementary
#285B15 #25155B #5B154B
monochromatic
#0B1906 #12290A #285B15 #3E8D20 #54BE2C
Accessibility & contrast
On white
8.09
#285B15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#285B15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285B15
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285B15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285B15 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5209
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#24584D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #285b15; /* rgb */ color: rgb(40, 91, 21); /* oklch */ color: oklch(42.0% 0.114 138.7);
Tailwind
colors: {
custom: {
50: '#688a57',
500: '#285b15',
950: '#000000',
},
}SCSS
$custom: #285b15; $custom-light: #688a57; $custom-dark: #000000;
JSON
{
"hex": "#285b15",
"rgb": {
"r": 40,
"g": 91,
"b": 21
},
"hsl": {
"h": 103.714,
"s": 62.5,
"l": 21.961
},
"oklch": {
"l": 0.4203,
"c": 0.11437,
"h": 138.7
},
"luminance": 0.07987
}Semantic roles & 50–950 ramp
primary
#285B15
secondary
#7A3992
accent
#42E6B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78