#285B2D#285B2D
#285B2D is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.4% C 0.092 H 145.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #285B2D |
|---|---|
| RGB | rgb(40, 91, 45) |
| HSL | hsl(126, 39%, 26%) |
| HSV | hsv(126, 56%, 36%) |
| CMYK | cmyk(56%, 0%, 50.5%, 64.3%) |
| CIE-LAB | lab(34.24, -28.08, 21.36) |
| CIE-LCH | lch(34.24, 35.28, 142.74°) |
| OKLab | oklab(42.35% -0.0762 0.052) |
| OKLCH | oklch(42.35% 0.092 145.7) |
| XYZ | xyz(5.0895, 8.1223, 3.7817) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.60
Forest Green
#2D5A27
ΔE00 1.88
Hunter Green
#355E3B
ΔE00 3.64
Spruce
#0A5F38
ΔE00 4.48
Deep Green
#02590F
ΔE00 5.87
Forest
#0B5509
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285B2D #5B2856
analogous
#3C5B28 #285B2D #285B46
triadic
#285B2D #2D285B #5B2D28
tetradic
#285B2D #283C5B #5B2856 #5B4628
square
#285B2D #283C5B #5B2856 #5B4628
split-complementary
#285B2D #46285B #5B283C
monochromatic
#09150B #153018 #285B2D #3B8642 #4DB057
Accessibility & contrast
On white
8.00
#285B2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#285B2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285B2D
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285B2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285B2D | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5329
Deuteranopia (green-blind)
#554F30
Tritanopia (blue-blind)
#1F5950
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #285b2d; /* rgb */ color: rgb(40, 91, 45); /* oklch */ color: oklch(42.4% 0.092 145.7);
Tailwind
colors: {
custom: {
50: '#678a67',
500: '#285b2d',
950: '#000000',
},
}SCSS
$custom: #285b2d; $custom-light: #678a67; $custom-dark: #000000;
JSON
{
"hex": "#285b2d",
"rgb": {
"r": 40,
"g": 91,
"b": 45
},
"hsl": {
"h": 125.882,
"s": 38.931,
"l": 25.686
},
"oklch": {
"l": 0.42351,
"c": 0.09226,
"h": 145.7
},
"luminance": 0.08123
}Semantic roles & 50–950 ramp
primary
#285B2D
secondary
#8E5188
accent
#59C3CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A