#285F2A#285F2A
#285F2A is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.102 H 144.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #285F2A |
|---|---|
| RGB | rgb(40, 95, 42) |
| HSL | hsl(122, 41%, 26%) |
| HSV | hsv(122, 58%, 37%) |
| CMYK | cmyk(57.9%, 0%, 55.8%, 62.7%) |
| CIE-LAB | lab(35.60, -30.38, 24.74) |
| CIE-LCH | lch(35.60, 39.18, 140.84°) |
| OKLab | oklab(43.46% -0.0825 0.0594) |
| OKLCH | oklch(43.46% 0.102 144.2) |
| XYZ | xyz(5.3849, 8.8023, 3.6053) |
| Luminance | 0.0880 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.03
Pine
#2B5D34
ΔE00 3.01
Hunter Green
#355E3B
ΔE00 4.88
Deep Green
#02590F
ΔE00 4.91
Spruce
#0A5F38
ΔE00 5.25
Forest
#0B5509
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285F2A #5F285D
analogous
#425F28 #285F2A #285F46
triadic
#285F2A #2A285F #5F2A28
tetradic
#285F2A #28425F #5F285D #5F4628
square
#285F2A #28425F #5F285D #5F4628
split-complementary
#285F2A #46285F #5F2842
monochromatic
#09160A #163417 #285F2A #3A8A3D #4DB451
Accessibility & contrast
On white
7.61
#285F2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#285F2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285F2A
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285F2A | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615725
Deuteranopia (green-blind)
#59522E
Tritanopia (blue-blind)
#1F5D53
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #285f2a; /* rgb */ color: rgb(40, 95, 42); /* oklch */ color: oklch(43.5% 0.102 144.2);
Tailwind
colors: {
custom: {
50: '#688d65',
500: '#285f2a',
950: '#000000',
},
}SCSS
$custom: #285f2a; $custom-light: #688d65; $custom-dark: #000000;
JSON
{
"hex": "#285f2a",
"rgb": {
"r": 40,
"g": 95,
"b": 42
},
"hsl": {
"h": 122.182,
"s": 40.741,
"l": 26.471
},
"oklch": {
"l": 0.43456,
"c": 0.10168,
"h": 144.2
},
"luminance": 0.08803
}Semantic roles & 50–950 ramp
primary
#285F2A
secondary
#92518F
accent
#57CCD1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A