#285B28#285B28
#285B28 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.098 H 143.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #285B28 |
|---|---|
| RGB | rgb(40, 91, 40) |
| HSL | hsl(120, 39%, 26%) |
| HSV | hsv(120, 56%, 36%) |
| CMYK | cmyk(56%, 0%, 56%, 64.3%) |
| CIE-LAB | lab(34.16, -28.88, 24.10) |
| CIE-LCH | lch(34.16, 37.62, 140.15°) |
| OKLab | oklab(42.27% -0.0785 0.0579) |
| OKLCH | oklch(42.27% 0.098 143.6) |
| XYZ | xyz(4.9989, 8.0861, 3.3044) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.02
Pine
#2B5D34
ΔE00 2.80
Hunter Green
#355E3B
ΔE00 4.69
Deep Green
#02590F
ΔE00 4.86
Forest
#0B5509
ΔE00 5.20
Spruce
#0A5F38
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285B28 #5B285B
analogous
#415B28 #285B28 #285B41
triadic
#285B28 #28285B #5B2828
tetradic
#285B28 #28415B #5B285B #5B4128
square
#285B28 #28415B #5B285B #5B4128
split-complementary
#285B28 #41285B #5B2841
monochromatic
#091509 #153015 #285B28 #3B863B #4DB04D
Accessibility & contrast
On white
8.02
#285B28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#285B28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285B28
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285B28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285B28 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5323
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#20594F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #285b28; /* rgb */ color: rgb(40, 91, 40); /* oklch */ color: oklch(42.3% 0.098 143.6);
Tailwind
colors: {
custom: {
50: '#678a63',
500: '#285b28',
950: '#000000',
},
}SCSS
$custom: #285b28; $custom-light: #678a63; $custom-dark: #000000;
JSON
{
"hex": "#285b28",
"rgb": {
"r": 40,
"g": 91,
"b": 40
},
"hsl": {
"h": 120,
"s": 38.931,
"l": 25.686
},
"oklch": {
"l": 0.42265,
"c": 0.09754,
"h": 143.6
},
"luminance": 0.08086
}Semantic roles & 50–950 ramp
primary
#285B28
secondary
#8E518E
accent
#59CFCF
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79