#285239#285239
#285239 is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.0% C 0.064 H 155.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #285239 |
|---|---|
| RGB | rgb(40, 82, 57) |
| HSL | hsl(144, 34%, 24%) |
| HSV | hsv(144, 51%, 32%) |
| CMYK | cmyk(51.2%, 0%, 30.5%, 67.8%) |
| CIE-LAB | lab(31.30, -21.28, 10.25) |
| CIE-LCH | lch(31.30, 23.62, 154.28°) |
| OKLab | oklab(40.03% -0.0583 0.0261) |
| OKLCH | oklch(40.03% 0.064 155.9) |
| XYZ | xyz(4.6305, 6.7808, 4.9349) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 5.01
Evergreen
#05472A
ΔE00 5.12
Pine
#2B5D34
ΔE00 5.72
Spruce
#0A5F38
ΔE00 6.58
Pine Green
#0A481E
ΔE00 6.94
Forest Green
#2D5A27
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285239 #522841
analogous
#2C5228 #285239 #28524E
triadic
#285239 #392852 #523928
tetradic
#285239 #282C52 #522841 #524E28
square
#285239 #282C52 #522841 #524E28
split-complementary
#285239 #4E2852 #52282C
monochromatic
#0A150E #14291C #285239 #3C7B56 #50A472
Accessibility & contrast
On white
8.91
#285239 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#285239 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285239
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285239 | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524C38
Deuteranopia (green-blind)
#4B483A
Tritanopia (blue-blind)
#1E514B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #285239; /* rgb */ color: rgb(40, 82, 57); /* oklch */ color: oklch(40.0% 0.064 155.9);
Tailwind
colors: {
custom: {
50: '#65836f',
500: '#285239',
950: '#000000',
},
}SCSS
$custom: #285239; $custom-light: #65836f; $custom-dark: #000000;
JSON
{
"hex": "#285239",
"rgb": {
"r": 40,
"g": 82,
"b": 57
},
"hsl": {
"h": 144.286,
"s": 34.426,
"l": 23.922
},
"oklch": {
"l": 0.4003,
"c": 0.06384,
"h": 155.9
},
"luminance": 0.06781
}Semantic roles & 50–950 ramp
primary
#285239
secondary
#855170
accent
#5D9ECB
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#060A07
muted
#7A7C7A