#285C28#285C28
#285C28 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.099 H 143.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #285C28 |
|---|---|
| RGB | rgb(40, 92, 40) |
| HSL | hsl(120, 39%, 26%) |
| HSV | hsv(120, 57%, 36%) |
| CMYK | cmyk(56.5%, 0%, 56.5%, 63.9%) |
| CIE-LAB | lab(34.51, -29.33, 24.53) |
| CIE-LCH | lch(34.51, 38.24, 140.10°) |
| OKLab | oklab(42.56% -0.0797 0.0588) |
| OKLCH | oklch(42.56% 0.099 143.6) |
| XYZ | xyz(5.0850, 8.2582, 3.3331) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.19
Pine
#2B5D34
ΔE00 2.92
Deep Green
#02590F
ΔE00 4.74
Hunter Green
#355E3B
ΔE00 4.81
Forest
#0B5509
ΔE00 5.17
Spruce
#0A5F38
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285C28 #5C285C
analogous
#425C28 #285C28 #285C42
triadic
#285C28 #28285C #5C2828
tetradic
#285C28 #28425C #5C285C #5C4228
square
#285C28 #28425C #5C285C #5C4228
split-complementary
#285C28 #42285C #5C2842
monochromatic
#091509 #153115 #285C28 #3B873B #4DB14D
Accessibility & contrast
On white
7.92
#285C28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#285C28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285C28
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285C28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285C28 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5423
Deuteranopia (green-blind)
#574F2C
Tritanopia (blue-blind)
#205A50
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #285c28; /* rgb */ color: rgb(40, 92, 40); /* oklch */ color: oklch(42.6% 0.099 143.6);
Tailwind
colors: {
custom: {
50: '#678b63',
500: '#285c28',
950: '#000000',
},
}SCSS
$custom: #285c28; $custom-light: #678b63; $custom-dark: #000000;
JSON
{
"hex": "#285c28",
"rgb": {
"r": 40,
"g": 92,
"b": 40
},
"hsl": {
"h": 120,
"s": 39.394,
"l": 25.882
},
"oklch": {
"l": 0.42555,
"c": 0.0991,
"h": 143.6
},
"luminance": 0.08259
}Semantic roles & 50–950 ramp
primary
#285C28
secondary
#8F518F
accent
#59CFCF
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79