#28591C#28591C
#28591C is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.106 H 139.9°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #28591C |
|---|---|
| RGB | rgb(40, 89, 28) |
| HSL | hsl(108, 52%, 23%) |
| HSV | hsv(108, 69%, 35%) |
| CMYK | cmyk(55.1%, 0%, 68.5%, 65.1%) |
| CIE-LAB | lab(33.31, -29.57, 29.44) |
| CIE-LCH | lch(33.31, 41.73, 135.12°) |
| OKLab | oklab(41.52% -0.0811 0.0683) |
| OKLCH | oklch(41.52% 0.106 139.9) |
| XYZ | xyz(4.6569, 7.6794, 2.3353) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.22
Forest
#0B5509
ΔE00 3.47
Deep Green
#02590F
ΔE00 3.60
Navy Green
#35530A
ΔE00 5.04
Pine
#2B5D34
ΔE00 5.28
Bottle Green
#044A05
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28591C #4D1C59
analogous
#46591C #28591C #1C592E
triadic
#28591C #1C2859 #591C28
tetradic
#28591C #1C4659 #4D1C59 #592E1C
square
#28591C #1C4659 #4D1C59 #592E1C
split-complementary
#28591C #2E1C59 #591C46
monochromatic
#0A1707 #132A0D #28591C #3D882B #52B639
Accessibility & contrast
On white
8.28
#28591C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#28591C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28591C
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28591C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28591C | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5115
Deuteranopia (green-blind)
#554D21
Tritanopia (blue-blind)
#23564C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #28591c; /* rgb */ color: rgb(40, 89, 28); /* oklch */ color: oklch(41.5% 0.106 139.9);
Tailwind
colors: {
custom: {
50: '#67885b',
500: '#28591c',
950: '#000000',
},
}SCSS
$custom: #28591c; $custom-light: #67885b; $custom-dark: #000000;
JSON
{
"hex": "#28591c",
"rgb": {
"r": 40,
"g": 89,
"b": 28
},
"hsl": {
"h": 108.197,
"s": 52.137,
"l": 22.941
},
"oklch": {
"l": 0.41515,
"c": 0.10602,
"h": 139.9
},
"luminance": 0.0768
}Semantic roles & 50–950 ramp
primary
#28591C
secondary
#80428F
accent
#4CDCBF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79