#285918#285918
#285918 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.109 H 139.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #285918 |
|---|---|
| RGB | rgb(40, 89, 24) |
| HSL | hsl(105, 58%, 22%) |
| HSV | hsv(105, 73%, 35%) |
| CMYK | cmyk(55.1%, 0%, 73%, 65.1%) |
| CIE-LAB | lab(33.27, -29.99, 31.31) |
| CIE-LCH | lch(33.27, 43.36, 133.77°) |
| OKLab | oklab(41.47% -0.0825 0.0717) |
| OKLCH | oklch(41.47% 0.109 139) |
| XYZ | xyz(4.6121, 7.6615, 2.0998) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.96
Forest
#0B5509
ΔE00 3.20
Deep Green
#02590F
ΔE00 3.46
Navy Green
#35530A
ΔE00 4.56
Bottle Green
#044A05
ΔE00 5.47
Darkgreen (survey)
#054907
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285918 #491859
analogous
#495918 #285918 #185929
triadic
#285918 #182859 #591828
tetradic
#285918 #184959 #491859 #592918
square
#285918 #184959 #491859 #592918
split-complementary
#285918 #291859 #591849
monochromatic
#0B1806 #12290B #285918 #3E8925 #53B932
Accessibility & contrast
On white
8.29
#285918 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#285918 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285918
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285918 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#554D1E
Tritanopia (blue-blind)
#24564C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #285918; /* rgb */ color: rgb(40, 89, 24); /* oklch */ color: oklch(41.5% 0.109 139.0);
Tailwind
colors: {
custom: {
50: '#678859',
500: '#285918',
950: '#000000',
},
}SCSS
$custom: #285918; $custom-light: #678859; $custom-dark: #000000;
JSON
{
"hex": "#285918",
"rgb": {
"r": 40,
"g": 89,
"b": 24
},
"hsl": {
"h": 105.231,
"s": 57.522,
"l": 22.157
},
"oklch": {
"l": 0.41471,
"c": 0.10933,
"h": 139
},
"luminance": 0.07662
}Semantic roles & 50–950 ramp
primary
#285918
secondary
#7B3D90
accent
#47E1BB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79