#28571C#28571C
#28571C is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.103 H 139.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #28571C |
|---|---|
| RGB | rgb(40, 87, 28) |
| HSL | hsl(108, 51%, 23%) |
| HSV | hsv(108, 68%, 34%) |
| CMYK | cmyk(54%, 0%, 67.8%, 65.9%) |
| CIE-LAB | lab(32.59, -28.67, 28.65) |
| CIE-LCH | lch(32.59, 40.53, 135.02°) |
| OKLab | oklab(40.93% -0.0787 0.0666) |
| OKLCH | oklch(40.93% 0.103 139.7) |
| XYZ | xyz(4.4927, 7.3510, 2.2805) |
| Luminance | 0.0735 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.13
Forest
#0B5509
ΔE00 3.57
Deep Green
#02590F
ΔE00 3.90
Navy Green
#35530A
ΔE00 4.89
Bottle Green
#044A05
ΔE00 5.17
Pine
#2B5D34
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28571C #4B1C57
analogous
#45571C #28571C #1C572E
triadic
#28571C #1C2857 #571C28
tetradic
#28571C #1C4557 #4B1C57 #572E1C
square
#28571C #1C4557 #4B1C57 #572E1C
split-complementary
#28571C #2E1C57 #571C45
monochromatic
#0B1707 #13290D #28571C #3D852B #53B43A
Accessibility & contrast
On white
8.50
#28571C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#28571C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28571C
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28571C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28571C | 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)
#5A4F15
Deuteranopia (green-blind)
#534B21
Tritanopia (blue-blind)
#24544B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #28571c; /* rgb */ color: rgb(40, 87, 28); /* oklch */ color: oklch(40.9% 0.103 139.7);
Tailwind
colors: {
custom: {
50: '#67875b',
500: '#28571c',
950: '#000000',
},
}SCSS
$custom: #28571c; $custom-light: #67875b; $custom-dark: #000000;
JSON
{
"hex": "#28571c",
"rgb": {
"r": 40,
"g": 87,
"b": 28
},
"hsl": {
"h": 107.797,
"s": 51.304,
"l": 22.549
},
"oklch": {
"l": 0.40929,
"c": 0.10307,
"h": 139.7
},
"luminance": 0.07351
}Semantic roles & 50–950 ramp
primary
#28571C
secondary
#7D428D
accent
#4DDBBE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79