#285B41#285B41
#285B41 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.8% C 0.071 H 159.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #285B41 |
|---|---|
| RGB | rgb(40, 91, 65) |
| HSL | hsl(149, 39%, 26%) |
| HSV | hsv(149, 56%, 36%) |
| CMYK | cmyk(56%, 0%, 28.6%, 64.3%) |
| CIE-LAB | lab(34.63, -24.02, 9.89) |
| CIE-LCH | lch(34.63, 25.98, 157.62°) |
| OKLab | oklab(42.8% -0.0659 0.0252) |
| OKLCH | oklch(42.8% 0.071 159.1) |
| XYZ | xyz(5.5698, 8.3145, 6.3113) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 3.91
Spruce
#0A5F38
ΔE00 4.79
Pine
#2B5D34
ΔE00 4.79
Dark Green Blue
#1F6357
ΔE00 6.74
Evergreen
#05472A
ΔE00 7.03
Forest Green
#2D5A27
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285B41 #5B2842
analogous
#285B28 #285B41 #285B5A
triadic
#285B41 #41285B #5B4128
tetradic
#285B41 #28285B #5B2842 #5B5A28
square
#285B41 #28285B #5B2842 #5B5A28
split-complementary
#285B41 #5A285B #5B2828
monochromatic
#09150F #153023 #285B41 #3B865F #4DB07E
Accessibility & contrast
On white
7.89
#285B41 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#285B41 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285B41
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285B41 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285B41 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5540
Deuteranopia (green-blind)
#534F43
Tritanopia (blue-blind)
#185B54
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #285b41; /* rgb */ color: rgb(40, 91, 65); /* oklch */ color: oklch(42.8% 0.071 159.1);
Tailwind
colors: {
custom: {
50: '#668a75',
500: '#285b41',
950: '#000000',
},
}SCSS
$custom: #285b41; $custom-light: #668a75; $custom-dark: #000000;
JSON
{
"hex": "#285b41",
"rgb": {
"r": 40,
"g": 91,
"b": 65
},
"hsl": {
"h": 149.412,
"s": 38.931,
"l": 25.686
},
"oklch": {
"l": 0.42801,
"c": 0.07061,
"h": 159.1
},
"luminance": 0.08315
}Semantic roles & 50–950 ramp
primary
#285B41
secondary
#8E5170
accent
#5995CF
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060B08
muted
#7A7C7B