#285B2F#285B2F
#285B2F is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.4% C 0.090 H 146.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #285B2F |
|---|---|
| RGB | rgb(40, 91, 47) |
| HSL | hsl(128, 39%, 26%) |
| HSV | hsv(128, 56%, 36%) |
| CMYK | cmyk(56%, 0%, 48.4%, 64.3%) |
| CIE-LAB | lab(34.27, -27.73, 20.24) |
| CIE-LCH | lch(34.27, 34.34, 143.87°) |
| OKLab | oklab(42.39% -0.0752 0.0496) |
| OKLCH | oklch(42.39% 0.09 146.6) |
| XYZ | xyz(5.1289, 8.1381, 3.9893) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.14
Forest Green
#2D5A27
ΔE00 2.35
Hunter Green
#355E3B
ΔE00 3.24
Spruce
#0A5F38
ΔE00 4.14
Deep Green
#02590F
ΔE00 6.33
Pine Green
#0A481E
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285B2F #5B2854
analogous
#3A5B28 #285B2F #285B48
triadic
#285B2F #2F285B #5B2F28
tetradic
#285B2F #283A5B #5B2854 #5B4828
square
#285B2F #283A5B #5B2854 #5B4828
split-complementary
#285B2F #48285B #5B283A
monochromatic
#09150B #153019 #285B2F #3B8645 #4DB05B
Accessibility & contrast
On white
7.99
#285B2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#285B2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285B2F
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285B2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285B2F | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C532C
Deuteranopia (green-blind)
#554F32
Tritanopia (blue-blind)
#1F5950
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #285b2f; /* rgb */ color: rgb(40, 91, 47); /* oklch */ color: oklch(42.4% 0.090 146.6);
Tailwind
colors: {
custom: {
50: '#678a68',
500: '#285b2f',
950: '#000000',
},
}SCSS
$custom: #285b2f; $custom-light: #678a68; $custom-dark: #000000;
JSON
{
"hex": "#285b2f",
"rgb": {
"r": 40,
"g": 91,
"b": 47
},
"hsl": {
"h": 128.235,
"s": 38.931,
"l": 25.686
},
"oklch": {
"l": 0.42388,
"c": 0.09009,
"h": 146.6
},
"luminance": 0.08139
}Semantic roles & 50–950 ramp
primary
#285B2F
secondary
#8E5185
accent
#59BFCF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A