#28712E#28712E
#28712E is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.124 H 144.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #28712E |
|---|---|
| RGB | rgb(40, 113, 46) |
| HSL | hsl(125, 48%, 30%) |
| HSV | hsv(125, 65%, 44%) |
| CMYK | cmyk(64.6%, 0%, 59.3%, 55.7%) |
| CIE-LAB | lab(41.93, -37.45, 30.20) |
| CIE-LCH | lch(41.93, 48.11, 141.11°) |
| OKLab | oklab(48.69% -0.1014 0.0717) |
| OKLCH | oklch(48.69% 0.124 144.7) |
| XYZ | xyz(7.2729, 12.4579, 4.6056) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.82
Tree Green
#2A7E19
ΔE00 6.38
Darkgreen
#006400
ΔE00 6.51
Jungle Green
#048243
ΔE00 6.71
Green
#008000
ΔE00 7.92
Forest Green
#2D5A27
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28712E #71286B
analogous
#467128 #28712E #287153
triadic
#28712E #2E2871 #712E28
tetradic
#28712E #284671 #71286B #715328
square
#28712E #284671 #71286B #715328
split-complementary
#28712E #532871 #712846
monochromatic
#081709 #18441C #28712E #389E40 #52C25B
Accessibility & contrast
On white
6.01
#28712E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#28712E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28712E
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28712E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28712E | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736727
Deuteranopia (green-blind)
#6A6133
Tritanopia (blue-blind)
#186E62
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #28712e; /* rgb */ color: rgb(40, 113, 46); /* oklch */ color: oklch(48.7% 0.124 144.7);
Tailwind
colors: {
custom: {
50: '#6b9a69',
500: '#28712e',
950: '#000000',
},
}SCSS
$custom: #28712e; $custom-light: #6b9a69; $custom-dark: #000000;
JSON
{
"hex": "#28712e",
"rgb": {
"r": 40,
"g": 113,
"b": 46
},
"hsl": {
"h": 124.932,
"s": 47.712,
"l": 30
},
"oklch": {
"l": 0.48689,
"c": 0.12424,
"h": 144.7
},
"luminance": 0.12459
}Semantic roles & 50–950 ramp
primary
#28712E
secondary
#A3529D
accent
#50CCD7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A