#285A2B#285A2B
#285A2B is a dark, moderate green. Relative luminance 0.079; OKLCH L 42.0% C 0.093 H 144.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #285A2B |
|---|---|
| RGB | rgb(40, 90, 43) |
| HSL | hsl(124, 38%, 25%) |
| HSV | hsv(124, 56%, 35%) |
| CMYK | cmyk(55.6%, 0%, 52.2%, 64.7%) |
| CIE-LAB | lab(33.85, -27.95, 22.03) |
| CIE-LCH | lch(33.85, 35.58, 141.76°) |
| OKLab | oklab(42.03% -0.0759 0.0534) |
| OKLCH | oklch(42.03% 0.093 144.8) |
| XYZ | xyz(4.9670, 7.9375, 3.5554) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.51
Pine
#2B5D34
ΔE00 2.04
Hunter Green
#355E3B
ΔE00 3.96
Spruce
#0A5F38
ΔE00 4.87
Deep Green
#02590F
ΔE00 5.60
Forest
#0B5509
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285A2B #5A2857
analogous
#3E5A28 #285A2B #285A44
triadic
#285A2B #2B285A #5A2B28
tetradic
#285A2B #283E5A #5A2857 #5A4428
square
#285A2B #283E5A #5A2857 #5A4428
split-complementary
#285A2B #44285A #5A283E
monochromatic
#09150A #153017 #285A2B #3B843F #4EAF53
Accessibility & contrast
On white
8.12
#285A2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#285A2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285A2B
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285A2B | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5227
Deuteranopia (green-blind)
#554E2E
Tritanopia (blue-blind)
#20584F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #285a2b; /* rgb */ color: rgb(40, 90, 43); /* oklch */ color: oklch(42.0% 0.093 144.8);
Tailwind
colors: {
custom: {
50: '#678965',
500: '#285a2b',
950: '#000000',
},
}SCSS
$custom: #285a2b; $custom-light: #678965; $custom-dark: #000000;
JSON
{
"hex": "#285a2b",
"rgb": {
"r": 40,
"g": 90,
"b": 43
},
"hsl": {
"h": 123.6,
"s": 38.462,
"l": 25.49
},
"oklch": {
"l": 0.42026,
"c": 0.09281,
"h": 144.8
},
"luminance": 0.07938
}Semantic roles & 50–950 ramp
primary
#285A2B
secondary
#8D5189
accent
#59C7CE
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B05
muted
#7A7C7A