#28542E#28542E
#28542E is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.3% C 0.080 H 146.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #28542E |
|---|---|
| RGB | rgb(40, 84, 46) |
| HSL | hsl(128, 35%, 24%) |
| HSV | hsv(128, 52%, 33%) |
| CMYK | cmyk(52.4%, 0%, 45.2%, 67.1%) |
| CIE-LAB | lab(31.78, -24.56, 17.64) |
| CIE-LCH | lch(31.78, 30.24, 144.32°) |
| OKLab | oklab(40.35% -0.0667 0.0435) |
| OKLCH | oklch(40.35% 0.08 146.9) |
| XYZ | xyz(4.5383, 6.9887, 3.6940) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.95
Hunter Green
#355E3B
ΔE00 3.72
Forest Green
#2D5A27
ΔE00 3.80
Pine Green
#0A481E
ΔE00 4.87
Spruce
#0A5F38
ΔE00 5.31
Evergreen
#05472A
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28542E #54284E
analogous
#385428 #28542E #285444
triadic
#28542E #2E2854 #542E28
tetradic
#28542E #283854 #54284E #544428
square
#28542E #283854 #54284E #544428
split-complementary
#28542E #442854 #542838
monochromatic
#0A150B #142B17 #28542E #3C7D45 #4FA75B
Accessibility & contrast
On white
8.76
#28542E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#28542E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28542E
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28542E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28542E | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D2B
Deuteranopia (green-blind)
#4F4930
Tritanopia (blue-blind)
#21524B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #28542e; /* rgb */ color: rgb(40, 84, 46); /* oklch */ color: oklch(40.3% 0.080 146.9);
Tailwind
colors: {
custom: {
50: '#658467',
500: '#28542e',
950: '#000000',
},
}SCSS
$custom: #28542e; $custom-light: #658467; $custom-dark: #000000;
JSON
{
"hex": "#28542e",
"rgb": {
"r": 40,
"g": 84,
"b": 46
},
"hsl": {
"h": 128.182,
"s": 35.484,
"l": 24.314
},
"oklch": {
"l": 0.40346,
"c": 0.07965,
"h": 146.9
},
"luminance": 0.06989
}Semantic roles & 50–950 ramp
primary
#28542E
secondary
#87517F
accent
#5CBCCC
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A