#285E15#285E15
#285E15 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.118 H 138.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #285E15 |
|---|---|
| RGB | rgb(40, 94, 21) |
| HSL | hsl(104, 63%, 23%) |
| HSV | hsv(104, 78%, 37%) |
| CMYK | cmyk(57.4%, 0%, 77.7%, 63.1%) |
| CIE-LAB | lab(35.02, -32.42, 34.44) |
| CIE-LCH | lch(35.02, 47.30, 133.27°) |
| OKLab | oklab(42.91% -0.0893 0.0778) |
| OKLCH | oklch(42.91% 0.118 138.9) |
| XYZ | xyz(5.0129, 8.5103, 2.0878) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.56
Forest
#0B5509
ΔE00 3.78
Darkgreen
#006400
ΔE00 4.11
Forest Green
#2D5A27
ΔE00 4.22
Navy Green
#35530A
ΔE00 5.28
Bottle Green
#044A05
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285E15 #4B155E
analogous
#4C5E15 #285E15 #155E27
triadic
#285E15 #15285E #5E1528
tetradic
#285E15 #154C5E #4B155E #5E2715
square
#285E15 #154C5E #4B155E #5E2715
split-complementary
#285E15 #27155E #5E154C
monochromatic
#0B1906 #132C0A #285E15 #3D9020 #53C22B
Accessibility & contrast
On white
7.77
#285E15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#285E15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285E15
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285E15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285E15 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615508
Deuteranopia (green-blind)
#5A511C
Tritanopia (blue-blind)
#235B50
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #285e15; /* rgb */ color: rgb(40, 94, 21); /* oklch */ color: oklch(42.9% 0.118 138.9);
Tailwind
colors: {
custom: {
50: '#698c58',
500: '#285e15',
950: '#000000',
},
}SCSS
$custom: #285e15; $custom-light: #698c58; $custom-dark: #000000;
JSON
{
"hex": "#285e15",
"rgb": {
"r": 40,
"g": 94,
"b": 21
},
"hsl": {
"h": 104.384,
"s": 63.478,
"l": 22.549
},
"oklch": {
"l": 0.42909,
"c": 0.11847,
"h": 138.9
},
"luminance": 0.08511
}Semantic roles & 50–950 ramp
primary
#285E15
secondary
#7D3995
accent
#41E7BC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78