#285C2E#285C2E
#285C2E is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.7% C 0.093 H 146.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #285C2E |
|---|---|
| RGB | rgb(40, 92, 46) |
| HSL | hsl(127, 39%, 26%) |
| HSV | hsv(127, 57%, 36%) |
| CMYK | cmyk(56.5%, 0%, 50%, 63.9%) |
| CIE-LAB | lab(34.60, -28.37, 21.25) |
| CIE-LCH | lch(34.60, 35.45, 143.17°) |
| OKLab | oklab(42.66% -0.0769 0.0518) |
| OKLCH | oklch(42.66% 0.093 146) |
| XYZ | xyz(5.1951, 8.3022, 3.9130) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.44
Forest Green
#2D5A27
ΔE00 2.06
Hunter Green
#355E3B
ΔE00 3.55
Spruce
#0A5F38
ΔE00 4.28
Deep Green
#02590F
ΔE00 5.95
Forest
#0B5509
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285C2E #5C2856
analogous
#3C5C28 #285C2E #285C48
triadic
#285C2E #2E285C #5C2E28
tetradic
#285C2E #283C5C #5C2856 #5C4828
square
#285C2E #283C5C #5C2856 #5C4828
split-complementary
#285C2E #48285C #5C283C
monochromatic
#09150B #153119 #285C2E #3B8743 #4DB159
Accessibility & contrast
On white
7.89
#285C2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#285C2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285C2E
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285C2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285C2E | 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)
#5D542A
Deuteranopia (green-blind)
#565031
Tritanopia (blue-blind)
#1F5A51
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #285c2e; /* rgb */ color: rgb(40, 92, 46); /* oklch */ color: oklch(42.7% 0.093 146.0);
Tailwind
colors: {
custom: {
50: '#678b67',
500: '#285c2e',
950: '#000000',
},
}SCSS
$custom: #285c2e; $custom-light: #678b67; $custom-dark: #000000;
JSON
{
"hex": "#285c2e",
"rgb": {
"r": 40,
"g": 92,
"b": 46
},
"hsl": {
"h": 126.923,
"s": 39.394,
"l": 25.882
},
"oklch": {
"l": 0.42658,
"c": 0.09278,
"h": 146
},
"luminance": 0.08303
}Semantic roles & 50–950 ramp
primary
#285C2E
secondary
#8F5188
accent
#59C2CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A