#28571D#28571D
#28571D is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.102 H 140.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #28571D |
|---|---|
| RGB | rgb(40, 87, 29) |
| HSL | hsl(109, 50%, 23%) |
| HSV | hsv(109, 67%, 34%) |
| CMYK | cmyk(54%, 0%, 66.7%, 65.9%) |
| CIE-LAB | lab(32.60, -28.55, 28.16) |
| CIE-LCH | lch(32.60, 40.10, 135.40°) |
| OKLab | oklab(40.94% -0.0783 0.0657) |
| OKLCH | oklch(40.94% 0.102 140) |
| XYZ | xyz(4.5049, 7.3559, 2.3446) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.96
Forest
#0B5509
ΔE00 3.68
Deep Green
#02590F
ΔE00 3.97
Pine
#2B5D34
ΔE00 5.03
Navy Green
#35530A
ΔE00 5.04
Bottle Green
#044A05
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28571D #4C1D57
analogous
#45571D #28571D #1D572F
triadic
#28571D #1D2857 #571D28
tetradic
#28571D #1D4557 #4C1D57 #572F1D
square
#28571D #1D4557 #4C1D57 #572F1D
split-complementary
#28571D #2F1D57 #571D45
monochromatic
#0B1708 #13290E #28571D #3D852C #52B33C
Accessibility & contrast
On white
8.50
#28571D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#28571D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28571D
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28571D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28571D | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594F16
Deuteranopia (green-blind)
#534B22
Tritanopia (blue-blind)
#23544B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #28571d; /* rgb */ color: rgb(40, 87, 29); /* oklch */ color: oklch(40.9% 0.102 140.0);
Tailwind
colors: {
custom: {
50: '#67875b',
500: '#28571d',
950: '#000000',
},
}SCSS
$custom: #28571d; $custom-light: #67875b; $custom-dark: #000000;
JSON
{
"hex": "#28571d",
"rgb": {
"r": 40,
"g": 87,
"b": 29
},
"hsl": {
"h": 108.621,
"s": 50,
"l": 22.745
},
"oklch": {
"l": 0.40941,
"c": 0.10217,
"h": 140
},
"luminance": 0.07356
}Semantic roles & 50–950 ramp
primary
#28571D
secondary
#7E448C
accent
#4EDABF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79