#285A0F#285A0F
#285A0F is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.117 H 137.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #285A0F |
|---|---|
| RGB | rgb(40, 90, 15) |
| HSL | hsl(100, 71%, 21%) |
| HSV | hsv(100, 83%, 35%) |
| CMYK | cmyk(55.6%, 0%, 83.3%, 64.7%) |
| CIE-LAB | lab(33.56, -31.17, 35.32) |
| CIE-LCH | lch(33.56, 47.11, 131.43°) |
| OKLab | oklab(41.69% -0.0864 0.0787) |
| OKLCH | oklch(41.69% 0.117 137.7) |
| XYZ | xyz(4.6173, 7.7976, 1.7136) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.29
Deep Green
#02590F
ΔE00 3.66
Navy Green
#35530A
ΔE00 4.10
Forest Green
#2D5A27
ΔE00 4.46
Darkgreen
#006400
ΔE00 4.88
Bottle Green
#044A05
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285A0F #410F5A
analogous
#4D5A0F #285A0F #0F5A1B
triadic
#285A0F #0F285A #5A0F28
tetradic
#285A0F #0F4D5A #410F5A #5A1B0F
square
#285A0F #0F4D5A #410F5A #5A1B0F
split-complementary
#285A0F #1B0F5A #5A0F4D
monochromatic
#0C1A04 #112606 #285A0F #3F8E18 #57C320
Accessibility & contrast
On white
8.20
#285A0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#285A0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285A0F
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285A0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285A0F | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#574D17
Tritanopia (blue-blind)
#24574C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #285a0f; /* rgb */ color: rgb(40, 90, 15); /* oklch */ color: oklch(41.7% 0.117 137.7);
Tailwind
colors: {
custom: {
50: '#688954',
500: '#285a0f',
950: '#000000',
},
}SCSS
$custom: #285a0f; $custom-light: #688954; $custom-dark: #000000;
JSON
{
"hex": "#285a0f",
"rgb": {
"r": 40,
"g": 90,
"b": 15
},
"hsl": {
"h": 100,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.41688,
"c": 0.11685,
"h": 137.7
},
"luminance": 0.07798
}Semantic roles & 50–950 ramp
primary
#285A0F
secondary
#733194
accent
#3AEEB2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78