#285015#285015
#285015 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.8% C 0.099 H 137.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #285015 |
|---|---|
| RGB | rgb(40, 80, 21) |
| HSL | hsl(101, 58%, 20%) |
| HSV | hsv(101, 74%, 31%) |
| CMYK | cmyk(50%, 0%, 73.7%, 68.6%) |
| CIE-LAB | lab(30.02, -26.20, 29.25) |
| CIE-LCH | lch(30.02, 39.27, 131.84°) |
| OKLab | oklab(38.79% -0.0725 0.067) |
| OKLCH | oklch(38.79% 0.099 137.3) |
| XYZ | xyz(3.8790, 6.2423, 1.7098) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Navy Green
#35530A
ΔE00 3.92
Forest Green
#2D5A27
ΔE00 3.99
Forrest Green
#154406
ΔE00 4.13
Bottle Green
#044A05
ΔE00 4.21
Forest
#0B5509
ΔE00 4.22
Darkgreen (survey)
#054907
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285015 #3D1550
analogous
#465015 #285015 #155020
triadic
#285015 #152850 #501528
tetradic
#285015 #154650 #3D1550 #502015
square
#285015 #154650 #3D1550 #502015
split-complementary
#285015 #201550 #501546
monochromatic
#0C1806 #102008 #285015 #408022 #58B12E
Accessibility & contrast
On white
9.34
#285015 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#285015 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285015
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285015 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285015 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53490D
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#264D44
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #285015; /* rgb */ color: rgb(40, 80, 21); /* oklch */ color: oklch(38.8% 0.099 137.3);
Tailwind
colors: {
custom: {
50: '#668156',
500: '#285015',
950: '#000000',
},
}SCSS
$custom: #285015; $custom-light: #668156; $custom-dark: #000000;
JSON
{
"hex": "#285015",
"rgb": {
"r": 40,
"g": 80,
"b": 21
},
"hsl": {
"h": 100.678,
"s": 58.416,
"l": 19.804
},
"oklch": {
"l": 0.38791,
"c": 0.09868,
"h": 137.3
},
"luminance": 0.06243
}Semantic roles & 50–950 ramp
primary
#285015
secondary
#6E3988
accent
#46E2B0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78