#285C2A#285C2A
#285C2A is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.097 H 144.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #285C2A |
|---|---|
| RGB | rgb(40, 92, 42) |
| HSL | hsl(122, 39%, 26%) |
| HSV | hsv(122, 57%, 36%) |
| CMYK | cmyk(56.5%, 0%, 54.3%, 63.9%) |
| CIE-LAB | lab(34.54, -29.03, 23.45) |
| CIE-LCH | lch(34.54, 37.32, 141.07°) |
| OKLab | oklab(42.59% -0.0788 0.0566) |
| OKLCH | oklch(42.59% 0.097 144.3) |
| XYZ | xyz(5.1199, 8.2722, 3.5169) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.35
Pine
#2B5D34
ΔE00 2.43
Hunter Green
#355E3B
ΔE00 4.39
Spruce
#0A5F38
ΔE00 5.05
Deep Green
#02590F
ΔE00 5.11
Forest
#0B5509
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285C2A #5C285A
analogous
#405C28 #285C2A #285C44
triadic
#285C2A #2A285C #5C2A28
tetradic
#285C2A #28405C #5C285A #5C4428
square
#285C2A #28405C #5C285A #5C4428
split-complementary
#285C2A #44285C #5C2840
monochromatic
#09150A #153117 #285C2A #3B873D #4DB151
Accessibility & contrast
On white
7.91
#285C2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#285C2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285C2A
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285C2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285C2A | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5426
Deuteranopia (green-blind)
#574F2D
Tritanopia (blue-blind)
#205A50
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #285c2a; /* rgb */ color: rgb(40, 92, 42); /* oklch */ color: oklch(42.6% 0.097 144.3);
Tailwind
colors: {
custom: {
50: '#678b65',
500: '#285c2a',
950: '#000000',
},
}SCSS
$custom: #285c2a; $custom-light: #678b65; $custom-dark: #000000;
JSON
{
"hex": "#285c2a",
"rgb": {
"r": 40,
"g": 92,
"b": 42
},
"hsl": {
"h": 122.308,
"s": 39.394,
"l": 25.882
},
"oklch": {
"l": 0.42588,
"c": 0.09703,
"h": 144.3
},
"luminance": 0.08273
}Semantic roles & 50–950 ramp
primary
#285C2A
secondary
#8F518C
accent
#59CBCF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A