#28612E#28612E
#28612E is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.1% C 0.101 H 145.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #28612E |
|---|---|
| RGB | rgb(40, 97, 46) |
| HSL | hsl(126, 42%, 27%) |
| HSV | hsv(126, 59%, 38%) |
| CMYK | cmyk(58.8%, 0%, 52.6%, 62%) |
| CIE-LAB | lab(36.36, -30.64, 23.45) |
| CIE-LCH | lch(36.36, 38.59, 142.58°) |
| OKLab | oklab(44.1% -0.0831 0.0568) |
| OKLCH | oklch(44.1% 0.101 145.6) |
| XYZ | xyz(5.6426, 9.1973, 4.0621) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.69
Forest Green
#2D5A27
ΔE00 2.77
Hunter Green
#355E3B
ΔE00 4.51
Spruce
#0A5F38
ΔE00 4.68
Deep Green
#02590F
ΔE00 5.59
Forest
#0B5509
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28612E #61285B
analogous
#3F6128 #28612E #28614B
triadic
#28612E #2E2861 #612E28
tetradic
#28612E #283F61 #61285B #614B28
square
#28612E #283F61 #61285B #614B28
split-complementary
#28612E #4B2861 #61283F
monochromatic
#09160A #163619 #28612E #3A8C43 #4EB659
Accessibility & contrast
On white
7.40
#28612E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#28612E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28612E
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28612E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28612E | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63592A
Deuteranopia (green-blind)
#5B5432
Tritanopia (blue-blind)
#1D5F55
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #28612e; /* rgb */ color: rgb(40, 97, 46); /* oklch */ color: oklch(44.1% 0.101 145.6);
Tailwind
colors: {
custom: {
50: '#688e68',
500: '#28612e',
950: '#000000',
},
}SCSS
$custom: #28612e; $custom-light: #688e68; $custom-dark: #000000;
JSON
{
"hex": "#28612e",
"rgb": {
"r": 40,
"g": 97,
"b": 46
},
"hsl": {
"h": 126.316,
"s": 41.606,
"l": 26.863
},
"oklch": {
"l": 0.441,
"c": 0.10064,
"h": 145.6
},
"luminance": 0.09198
}Semantic roles & 50–950 ramp
primary
#28612E
secondary
#94518D
accent
#56C4D1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A