#28581F#28581F
#28581F is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.3% C 0.102 H 140.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #28581F |
|---|---|
| RGB | rgb(40, 88, 31) |
| HSL | hsl(111, 48%, 23%) |
| HSV | hsv(111, 65%, 35%) |
| CMYK | cmyk(54.5%, 0%, 64.8%, 65.5%) |
| CIE-LAB | lab(32.98, -28.76, 27.56) |
| CIE-LCH | lch(32.98, 39.83, 136.22°) |
| OKLab | oklab(41.26% -0.0787 0.0646) |
| OKLCH | oklch(41.26% 0.102 140.6) |
| XYZ | xyz(4.6119, 7.5291, 2.5063) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.60
Forest
#0B5509
ΔE00 3.86
Deep Green
#02590F
ΔE00 3.98
Pine
#2B5D34
ΔE00 4.64
Navy Green
#35530A
ΔE00 5.41
Bottle Green
#044A05
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28581F #4F1F58
analogous
#44581F #28581F #1F5832
triadic
#28581F #1F2858 #581F28
tetradic
#28581F #1F4458 #4F1F58 #58321F
square
#28581F #1F4458 #4F1F58 #58321F
split-complementary
#28581F #321F58 #581F44
monochromatic
#0A1708 #132B0F #28581F #3D852F #51B33F
Accessibility & contrast
On white
8.38
#28581F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#28581F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28581F
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28581F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28581F | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5019
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#23554C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #28581f; /* rgb */ color: rgb(40, 88, 31); /* oklch */ color: oklch(41.3% 0.102 140.6);
Tailwind
colors: {
custom: {
50: '#67875d',
500: '#28581f',
950: '#000000',
},
}SCSS
$custom: #28581f; $custom-light: #67875d; $custom-dark: #000000;
JSON
{
"hex": "#28581f",
"rgb": {
"r": 40,
"g": 88,
"b": 31
},
"hsl": {
"h": 110.526,
"s": 47.899,
"l": 23.333
},
"oklch": {
"l": 0.41259,
"c": 0.10183,
"h": 140.6
},
"luminance": 0.07529
}Semantic roles & 50–950 ramp
primary
#28581F
secondary
#82468D
accent
#50D7C2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79