#28512E#28512E
#28512E is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.5% C 0.075 H 147.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #28512E |
|---|---|
| RGB | rgb(40, 81, 46) |
| HSL | hsl(129, 34%, 24%) |
| HSV | hsv(129, 51%, 32%) |
| CMYK | cmyk(50.6%, 0%, 43.2%, 68.2%) |
| CIE-LAB | lab(30.72, -23.07, 16.25) |
| CIE-LCH | lch(30.72, 28.22, 144.84°) |
| OKLab | oklab(39.48% -0.0627 0.0403) |
| OKLCH | oklch(39.48% 0.075 147.3) |
| XYZ | xyz(4.3104, 6.5329, 3.6181) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.05
Hunter Green
#355E3B
ΔE00 4.38
Pine Green
#0A481E
ΔE00 4.64
Forest Green
#2D5A27
ΔE00 4.87
Evergreen
#05472A
ΔE00 5.19
Spruce
#0A5F38
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28512E #51284B
analogous
#365128 #28512E #285142
triadic
#28512E #2E2851 #512E28
tetradic
#28512E #283651 #51284B #514228
square
#28512E #283651 #51284B #514228
split-complementary
#28512E #422851 #512836
monochromatic
#0A140C #142817 #28512E #3C7A45 #50A35D
Accessibility & contrast
On white
9.10
#28512E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#28512E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28512E
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28512E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28512E | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B2C
Deuteranopia (green-blind)
#4C4730
Tritanopia (blue-blind)
#214F48
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #28512e; /* rgb */ color: rgb(40, 81, 46); /* oklch */ color: oklch(39.5% 0.075 147.3);
Tailwind
colors: {
custom: {
50: '#658267',
500: '#28512e',
950: '#000000',
},
}SCSS
$custom: #28512e; $custom-light: #658267; $custom-dark: #000000;
JSON
{
"hex": "#28512e",
"rgb": {
"r": 40,
"g": 81,
"b": 46
},
"hsl": {
"h": 128.78,
"s": 33.884,
"l": 23.725
},
"oklch": {
"l": 0.39479,
"c": 0.07454,
"h": 147.3
},
"luminance": 0.06533
}Semantic roles & 50–950 ramp
primary
#28512E
secondary
#84517C
accent
#5EBACA
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A