#285B2B#285B2B
#285B2B is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.094 H 144.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #285B2B |
|---|---|
| RGB | rgb(40, 91, 43) |
| HSL | hsl(124, 39%, 26%) |
| HSV | hsv(124, 56%, 36%) |
| CMYK | cmyk(56%, 0%, 52.7%, 64.3%) |
| CIE-LAB | lab(34.21, -28.41, 22.47) |
| CIE-LCH | lch(34.21, 36.22, 141.66°) |
| OKLab | oklab(42.32% -0.0771 0.0544) |
| OKLCH | oklch(42.32% 0.094 144.8) |
| XYZ | xyz(5.0519, 8.1073, 3.5837) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.45
Pine
#2B5D34
ΔE00 2.08
Hunter Green
#355E3B
ΔE00 4.06
Spruce
#0A5F38
ΔE00 4.85
Deep Green
#02590F
ΔE00 5.44
Forest
#0B5509
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285B2B #5B2858
analogous
#3E5B28 #285B2B #285B44
triadic
#285B2B #2B285B #5B2B28
tetradic
#285B2B #283E5B #5B2858 #5B4428
square
#285B2B #283E5B #5B2858 #5B4428
split-complementary
#285B2B #44285B #5B283E
monochromatic
#09150A #153017 #285B2B #3B863F #4DB053
Accessibility & contrast
On white
8.01
#285B2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#285B2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285B2B
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285B2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285B2B | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5327
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#205950
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #285b2b; /* rgb */ color: rgb(40, 91, 43); /* oklch */ color: oklch(42.3% 0.094 144.8);
Tailwind
colors: {
custom: {
50: '#678a65',
500: '#285b2b',
950: '#000000',
},
}SCSS
$custom: #285b2b; $custom-light: #678a65; $custom-dark: #000000;
JSON
{
"hex": "#285b2b",
"rgb": {
"r": 40,
"g": 91,
"b": 43
},
"hsl": {
"h": 123.529,
"s": 38.931,
"l": 25.686
},
"oklch": {
"l": 0.42315,
"c": 0.0944,
"h": 144.8
},
"luminance": 0.08108
}Semantic roles & 50–950 ramp
primary
#285B2B
secondary
#8E518A
accent
#59C8CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A