#285B0F#285B0F
#285B0F is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.118 H 137.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #285B0F |
|---|---|
| RGB | rgb(40, 91, 15) |
| HSL | hsl(100, 72%, 21%) |
| HSV | hsv(100, 84%, 36%) |
| CMYK | cmyk(56%, 0%, 83.5%, 64.3%) |
| CIE-LAB | lab(33.91, -31.60, 35.67) |
| CIE-LCH | lch(33.91, 47.65, 131.54°) |
| OKLab | oklab(41.98% -0.0875 0.0794) |
| OKLCH | oklch(41.98% 0.118 137.8) |
| XYZ | xyz(4.7022, 7.9674, 1.7419) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.41
Deep Green
#02590F
ΔE00 3.66
Navy Green
#35530A
ΔE00 4.32
Forest Green
#2D5A27
ΔE00 4.57
Darkgreen
#006400
ΔE00 4.61
Bottle Green
#044A05
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285B0F #420F5B
analogous
#4E5B0F #285B0F #0F5B1C
triadic
#285B0F #0F285B #5B0F28
tetradic
#285B0F #0F4E5B #420F5B #5B1C0F
square
#285B0F #0F4E5B #420F5B #5B1C0F
split-complementary
#285B0F #1C0F5B #5B0F4E
monochromatic
#0C1A04 #112606 #285B0F #3F9018 #56C420
Accessibility & contrast
On white
8.10
#285B0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#285B0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285B0F
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285B0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285B0F | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#24574D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #285b0f; /* rgb */ color: rgb(40, 91, 15); /* oklch */ color: oklch(42.0% 0.118 137.8);
Tailwind
colors: {
custom: {
50: '#688a54',
500: '#285b0f',
950: '#000000',
},
}SCSS
$custom: #285b0f; $custom-light: #688a54; $custom-dark: #000000;
JSON
{
"hex": "#285b0f",
"rgb": {
"r": 40,
"g": 91,
"b": 15
},
"hsl": {
"h": 100.263,
"s": 71.698,
"l": 20.784
},
"oklch": {
"l": 0.41983,
"c": 0.11818,
"h": 137.8
},
"luminance": 0.07968
}Semantic roles & 50–950 ramp
primary
#285B0F
secondary
#743195
accent
#39EEB3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78