#285231#285231
#285231 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.8% C 0.073 H 149.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #285231 |
|---|---|
| RGB | rgb(40, 82, 49) |
| HSL | hsl(133, 34%, 24%) |
| HSV | hsv(133, 51%, 32%) |
| CMYK | cmyk(51.2%, 0%, 40.2%, 67.8%) |
| CIE-LAB | lab(31.13, -22.99, 14.97) |
| CIE-LCH | lch(31.13, 27.43, 146.93°) |
| OKLab | oklab(39.83% -0.0625 0.0374) |
| OKLCH | oklch(39.83% 0.073 149.1) |
| XYZ | xyz(4.4465, 6.7071, 3.9654) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.98
Hunter Green
#355E3B
ΔE00 4.07
Evergreen
#05472A
ΔE00 5.07
Pine Green
#0A481E
ΔE00 5.09
Forest Green
#2D5A27
ΔE00 5.30
Spruce
#0A5F38
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285231 #522849
analogous
#345228 #285231 #285246
triadic
#285231 #312852 #523128
tetradic
#285231 #283452 #522849 #524628
square
#285231 #283452 #522849 #524628
split-complementary
#285231 #462852 #522834
monochromatic
#0A150C #142918 #285231 #3C7B4A #50A462
Accessibility & contrast
On white
8.97
#285231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#285231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285231
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285231 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534C2F
Deuteranopia (green-blind)
#4D4833
Tritanopia (blue-blind)
#20514A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #285231; /* rgb */ color: rgb(40, 82, 49); /* oklch */ color: oklch(39.8% 0.073 149.1);
Tailwind
colors: {
custom: {
50: '#658369',
500: '#285231',
950: '#000000',
},
}SCSS
$custom: #285231; $custom-light: #658369; $custom-dark: #000000;
JSON
{
"hex": "#285231",
"rgb": {
"r": 40,
"g": 82,
"b": 49
},
"hsl": {
"h": 132.857,
"s": 34.426,
"l": 23.922
},
"oklch": {
"l": 0.39833,
"c": 0.07281,
"h": 149.1
},
"luminance": 0.06707
}Semantic roles & 50–950 ramp
primary
#285231
secondary
#85517A
accent
#5DB3CB
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A