#285A2E#285A2E
#285A2E is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.090 H 146.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #285A2E |
|---|---|
| RGB | rgb(40, 90, 46) |
| HSL | hsl(127, 38%, 25%) |
| HSV | hsv(127, 56%, 35%) |
| CMYK | cmyk(55.6%, 0%, 48.9%, 64.7%) |
| CIE-LAB | lab(33.90, -27.44, 20.36) |
| CIE-LCH | lch(33.90, 34.17, 143.43°) |
| OKLab | oklab(42.08% -0.0744 0.0498) |
| OKLCH | oklch(42.08% 0.09 146.2) |
| XYZ | xyz(5.0241, 7.9603, 3.8560) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.39
Forest Green
#2D5A27
ΔE00 2.22
Hunter Green
#355E3B
ΔE00 3.36
Spruce
#0A5F38
ΔE00 4.35
Pine Green
#0A481E
ΔE00 6.11
Deep Green
#02590F
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285A2E #5A2854
analogous
#3B5A28 #285A2E #285A47
triadic
#285A2E #2E285A #5A2E28
tetradic
#285A2E #283B5A #5A2854 #5A4728
square
#285A2E #283B5A #5A2854 #5A4728
split-complementary
#285A2E #47285A #5A283B
monochromatic
#09150B #153018 #285A2E #3B8444 #4EAF59
Accessibility & contrast
On white
8.10
#285A2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#285A2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285A2E
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285A2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285A2E | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B532B
Deuteranopia (green-blind)
#544E31
Tritanopia (blue-blind)
#1F584F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #285a2e; /* rgb */ color: rgb(40, 90, 46); /* oklch */ color: oklch(42.1% 0.090 146.2);
Tailwind
colors: {
custom: {
50: '#668967',
500: '#285a2e',
950: '#000000',
},
}SCSS
$custom: #285a2e; $custom-light: #668967; $custom-dark: #000000;
JSON
{
"hex": "#285a2e",
"rgb": {
"r": 40,
"g": 90,
"b": 46
},
"hsl": {
"h": 127.2,
"s": 38.462,
"l": 25.49
},
"oklch": {
"l": 0.4208,
"c": 0.08956,
"h": 146.2
},
"luminance": 0.07961
}Semantic roles & 50–950 ramp
primary
#285A2E
secondary
#8D5186
accent
#59C0CE
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B06
muted
#7A7C7A