#285B18#285B18
#285B18 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.112 H 139.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #285B18 |
|---|---|
| RGB | rgb(40, 91, 24) |
| HSL | hsl(106, 58%, 23%) |
| HSV | hsv(106, 74%, 36%) |
| CMYK | cmyk(56%, 0%, 73.6%, 64.3%) |
| CIE-LAB | lab(33.98, -30.87, 32.07) |
| CIE-LCH | lch(33.98, 44.51, 133.91°) |
| OKLab | oklab(42.06% -0.0849 0.0733) |
| OKLCH | oklch(42.06% 0.112 139.2) |
| XYZ | xyz(4.7808, 7.9989, 2.1560) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.21
Forest
#0B5509
ΔE00 3.33
Deep Green
#02590F
ΔE00 3.35
Navy Green
#35530A
ΔE00 4.87
Darkgreen
#006400
ΔE00 5.13
Bottle Green
#044A05
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285B18 #4B185B
analogous
#495B18 #285B18 #185B2A
triadic
#285B18 #18285B #5B1828
tetradic
#285B18 #18495B #4B185B #5B2A18
square
#285B18 #18495B #4B185B #5B2A18
split-complementary
#285B18 #2A185B #5B1849
monochromatic
#0B1806 #132B0B #285B18 #3D8B25 #53BC32
Accessibility & contrast
On white
8.08
#285B18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#285B18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285B18
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285B18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285B18 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E530E
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#23584E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #285b18; /* rgb */ color: rgb(40, 91, 24); /* oklch */ color: oklch(42.1% 0.112 139.2);
Tailwind
colors: {
custom: {
50: '#688a59',
500: '#285b18',
950: '#000000',
},
}SCSS
$custom: #285b18; $custom-light: #688a59; $custom-dark: #000000;
JSON
{
"hex": "#285b18",
"rgb": {
"r": 40,
"g": 91,
"b": 24
},
"hsl": {
"h": 105.672,
"s": 58.261,
"l": 22.549
},
"oklch": {
"l": 0.42058,
"c": 0.11216,
"h": 139.2
},
"luminance": 0.07999
}Semantic roles & 50–950 ramp
primary
#285B18
secondary
#7D3D92
accent
#46E1BC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79