#285A10#285A10
#285A10 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.116 H 137.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #285A10 |
|---|---|
| RGB | rgb(40, 90, 16) |
| HSL | hsl(101, 70%, 21%) |
| HSV | hsv(101, 82%, 35%) |
| CMYK | cmyk(55.6%, 0%, 82.2%, 64.7%) |
| CIE-LAB | lab(33.56, -31.10, 34.96) |
| CIE-LCH | lch(33.56, 46.79, 131.66°) |
| OKLab | oklab(41.7% -0.0861 0.0781) |
| OKLCH | oklch(41.7% 0.116 137.8) |
| XYZ | xyz(4.6246, 7.8005, 1.7521) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.26
Deep Green
#02590F
ΔE00 3.61
Navy Green
#35530A
ΔE00 4.14
Forest Green
#2D5A27
ΔE00 4.33
Darkgreen
#006400
ΔE00 4.92
Bottle Green
#044A05
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285A10 #42105A
analogous
#4D5A10 #285A10 #105A1D
triadic
#285A10 #10285A #5A1028
tetradic
#285A10 #104D5A #42105A #5A1D10
square
#285A10 #104D5A #42105A #5A1D10
split-complementary
#285A10 #1D105A #5A104D
monochromatic
#0C1A05 #112607 #285A10 #3F8E19 #56C222
Accessibility & contrast
On white
8.20
#285A10 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#285A10 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285A10
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285A10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285A10 | 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)
#5D5201
Deuteranopia (green-blind)
#574D18
Tritanopia (blue-blind)
#24574C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #285a10; /* rgb */ color: rgb(40, 90, 16); /* oklch */ color: oklch(41.7% 0.116 137.8);
Tailwind
colors: {
custom: {
50: '#688955',
500: '#285a10',
950: '#000000',
},
}SCSS
$custom: #285a10; $custom-light: #688955; $custom-dark: #000000;
JSON
{
"hex": "#285a10",
"rgb": {
"r": 40,
"g": 90,
"b": 16
},
"hsl": {
"h": 100.541,
"s": 69.811,
"l": 20.784
},
"oklch": {
"l": 0.41696,
"c": 0.11627,
"h": 137.8
},
"luminance": 0.07801
}Semantic roles & 50–950 ramp
primary
#285A10
secondary
#743393
accent
#3BEDB3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78