#285C2F#285C2F
#285C2F is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.7% C 0.092 H 146.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #285C2F |
|---|---|
| RGB | rgb(40, 92, 47) |
| HSL | hsl(128, 39%, 26%) |
| HSV | hsv(128, 57%, 36%) |
| CMYK | cmyk(56.5%, 0%, 48.9%, 63.9%) |
| CIE-LAB | lab(34.62, -28.20, 20.69) |
| CIE-LCH | lch(34.62, 34.98, 143.73°) |
| OKLab | oklab(42.68% -0.0765 0.0506) |
| OKLCH | oklch(42.68% 0.092 146.5) |
| XYZ | xyz(5.2150, 8.3102, 4.0180) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.19
Forest Green
#2D5A27
ΔE00 2.29
Hunter Green
#355E3B
ΔE00 3.35
Spruce
#0A5F38
ΔE00 4.11
Deep Green
#02590F
ΔE00 6.18
Forest
#0B5509
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285C2F #5C2855
analogous
#3B5C28 #285C2F #285C49
triadic
#285C2F #2F285C #5C2F28
tetradic
#285C2F #283B5C #5C2855 #5C4928
square
#285C2F #283B5C #5C2855 #5C4928
split-complementary
#285C2F #49285C #5C283B
monochromatic
#09150B #153119 #285C2F #3B8745 #4DB15B
Accessibility & contrast
On white
7.89
#285C2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#285C2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285C2F
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285C2F | 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)
#5D542C
Deuteranopia (green-blind)
#565032
Tritanopia (blue-blind)
#1F5A51
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #285c2f; /* rgb */ color: rgb(40, 92, 47); /* oklch */ color: oklch(42.7% 0.092 146.5);
Tailwind
colors: {
custom: {
50: '#678b68',
500: '#285c2f',
950: '#000000',
},
}SCSS
$custom: #285c2f; $custom-light: #678b68; $custom-dark: #000000;
JSON
{
"hex": "#285c2f",
"rgb": {
"r": 40,
"g": 92,
"b": 47
},
"hsl": {
"h": 128.077,
"s": 39.394,
"l": 25.882
},
"oklch": {
"l": 0.42676,
"c": 0.0917,
"h": 146.5
},
"luminance": 0.08311
}Semantic roles & 50–950 ramp
primary
#285C2F
secondary
#8F5186
accent
#59BFCF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A