#285518#285518
#285518 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.3% C 0.104 H 138.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #285518 |
|---|---|
| RGB | rgb(40, 85, 24) |
| HSL | hsl(104, 56%, 21%) |
| HSV | hsv(104, 72%, 33%) |
| CMYK | cmyk(52.9%, 0%, 71.8%, 66.7%) |
| CIE-LAB | lab(31.84, -28.20, 29.78) |
| CIE-LCH | lch(31.84, 41.01, 133.44°) |
| OKLab | oklab(40.3% -0.0777 0.0685) |
| OKLCH | oklch(40.3% 0.104 138.6) |
| XYZ | xyz(4.2883, 7.0138, 1.9918) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.90
Forest
#0B5509
ΔE00 3.42
Deep Green
#02590F
ΔE00 4.08
Navy Green
#35530A
ΔE00 4.21
Bottle Green
#044A05
ΔE00 4.71
Darkgreen (survey)
#054907
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285518 #451855
analogous
#475518 #285518 #185527
triadic
#285518 #182855 #551828
tetradic
#285518 #184755 #451855 #552718
square
#285518 #184755 #451855 #552718
split-complementary
#285518 #271855 #551847
monochromatic
#0B1807 #12250B #285518 #3E8525 #55B433
Accessibility & contrast
On white
8.74
#285518 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#285518 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285518
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285518 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285518 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584D10
Deuteranopia (green-blind)
#52491D
Tritanopia (blue-blind)
#245248
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #285518; /* rgb */ color: rgb(40, 85, 24); /* oklch */ color: oklch(40.3% 0.104 138.6);
Tailwind
colors: {
custom: {
50: '#678558',
500: '#285518',
950: '#000000',
},
}SCSS
$custom: #285518; $custom-light: #678558; $custom-dark: #000000;
JSON
{
"hex": "#285518",
"rgb": {
"r": 40,
"g": 85,
"b": 24
},
"hsl": {
"h": 104.262,
"s": 55.963,
"l": 21.373
},
"oklch": {
"l": 0.40296,
"c": 0.10356,
"h": 138.6
},
"luminance": 0.07014
}Semantic roles & 50–950 ramp
primary
#285518
secondary
#773D8C
accent
#49DFB8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78