#285F1A#285F1A
#285F1A is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.116 H 139.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #285F1A |
|---|---|
| RGB | rgb(40, 95, 26) |
| HSL | hsl(108, 57%, 24%) |
| HSV | hsv(108, 73%, 37%) |
| CMYK | cmyk(57.9%, 0%, 72.6%, 62.7%) |
| CIE-LAB | lab(35.42, -32.39, 32.68) |
| CIE-LCH | lch(35.42, 46.01, 134.74°) |
| OKLab | oklab(43.25% -0.0889 0.0749) |
| OKLCH | oklch(43.25% 0.116 139.9) |
| XYZ | xyz(5.1535, 8.7097, 2.3867) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.56
Forest Green
#2D5A27
ΔE00 3.72
Forest
#0B5509
ΔE00 4.00
Darkgreen
#006400
ΔE00 4.29
Navy Green
#35530A
ΔE00 5.81
Pine
#2B5D34
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285F1A #511A5F
analogous
#4A5F1A #285F1A #1A5F2E
triadic
#285F1A #1A285F #5F1A28
tetradic
#285F1A #1A4A5F #511A5F #5F2E1A
square
#285F1A #1A4A5F #511A5F #5F2E1A
split-complementary
#285F1A #2E1A5F #5F1A4A
monochromatic
#0A1807 #142F0D #285F1A #3C8F27 #50BF34
Accessibility & contrast
On white
7.66
#285F1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#285F1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285F1A
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285F1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285F1A | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625610
Deuteranopia (green-blind)
#5B5220
Tritanopia (blue-blind)
#225C51
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #285f1a; /* rgb */ color: rgb(40, 95, 26); /* oklch */ color: oklch(43.2% 0.116 139.9);
Tailwind
colors: {
custom: {
50: '#688d5b',
500: '#285f1a',
950: '#000000',
},
}SCSS
$custom: #285f1a; $custom-light: #688d5b; $custom-dark: #000000;
JSON
{
"hex": "#285f1a",
"rgb": {
"r": 40,
"g": 95,
"b": 26
},
"hsl": {
"h": 107.826,
"s": 57.025,
"l": 23.725
},
"oklch": {
"l": 0.43248,
"c": 0.11621,
"h": 139.9
},
"luminance": 0.0871
}Semantic roles & 50–950 ramp
primary
#285F1A
secondary
#844095
accent
#48E0C1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79