#28581B#28581B
#28581B is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.2% C 0.105 H 139.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #28581B |
|---|---|
| RGB | rgb(40, 88, 27) |
| HSL | hsl(107, 53%, 23%) |
| HSV | hsv(107, 69%, 35%) |
| CMYK | cmyk(54.5%, 0%, 69.3%, 65.5%) |
| CIE-LAB | lab(32.94, -29.23, 29.53) |
| CIE-LCH | lch(32.94, 41.55, 134.71°) |
| OKLab | oklab(41.21% -0.0803 0.0683) |
| OKLCH | oklch(41.21% 0.105 139.6) |
| XYZ | xyz(4.5624, 7.5094, 2.2457) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.34
Forest
#0B5509
ΔE00 3.40
Deep Green
#02590F
ΔE00 3.67
Navy Green
#35530A
ΔE00 4.81
Bottle Green
#044A05
ΔE00 5.31
Pine
#2B5D34
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28581B #4B1B58
analogous
#46581B #28581B #1B582C
triadic
#28581B #1B2858 #581B28
tetradic
#28581B #1B4658 #4B1B58 #582C1B
square
#28581B #1B4658 #4B1B58 #582C1B
split-complementary
#28581B #2C1B58 #581B46
monochromatic
#0B1707 #13290D #28581B #3D8729 #53B638
Accessibility & contrast
On white
8.39
#28581B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#28581B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28581B
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28581B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28581B | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5014
Deuteranopia (green-blind)
#544C20
Tritanopia (blue-blind)
#23554B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #28581b; /* rgb */ color: rgb(40, 88, 27); /* oklch */ color: oklch(41.2% 0.105 139.6);
Tailwind
colors: {
custom: {
50: '#67875a',
500: '#28581b',
950: '#000000',
},
}SCSS
$custom: #28581b; $custom-light: #67875a; $custom-dark: #000000;
JSON
{
"hex": "#28581b",
"rgb": {
"r": 40,
"g": 88,
"b": 27
},
"hsl": {
"h": 107.213,
"s": 53.043,
"l": 22.549
},
"oklch": {
"l": 0.4121,
"c": 0.10542,
"h": 139.6
},
"luminance": 0.0751
}Semantic roles & 50–950 ramp
primary
#28581B
secondary
#7D418E
accent
#4BDCBE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79