#28711E#28711E
#28711E is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.137 H 141.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #28711E |
|---|---|
| RGB | rgb(40, 113, 30) |
| HSL | hsl(113, 58%, 28%) |
| HSV | hsv(113, 73%, 44%) |
| CMYK | cmyk(64.6%, 0%, 73.5%, 55.7%) |
| CIE-LAB | lab(41.77, -39.30, 37.61) |
| CIE-LCH | lch(41.77, 54.40, 136.26°) |
| OKLab | oklab(48.5% -0.1073 0.0858) |
| OKLCH | oklch(48.5% 0.137 141.4) |
| XYZ | xyz(7.0142, 12.3544, 3.2431) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.78
Darkish Green
#287C37
ΔE00 5.02
Darkgreen
#006400
ΔE00 5.10
Green
#008000
ΔE00 6.16
Dark Grass Green
#388004
ΔE00 6.80
Deep Green
#02590F
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28711E #671E71
analogous
#51711E #28711E #1E713D
triadic
#28711E #1E2871 #711E28
tetradic
#28711E #1E5171 #671E71 #713D1E
square
#28711E #1E5171 #671E71 #713D1E
split-complementary
#28711E #3D1E71 #711E51
monochromatic
#091806 #174111 #28711E #39A12B #4FCC3E
Accessibility & contrast
On white
6.05
#28711E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#28711E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28711E
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28711E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28711E | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746611
Deuteranopia (green-blind)
#6B6026
Tritanopia (blue-blind)
#1C6D60
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #28711e; /* rgb */ color: rgb(40, 113, 30); /* oklch */ color: oklch(48.5% 0.137 141.4);
Tailwind
colors: {
custom: {
50: '#6c9b5f',
500: '#28711e',
950: '#000000',
},
}SCSS
$custom: #28711e; $custom-light: #6c9b5f; $custom-dark: #000000;
JSON
{
"hex": "#28711e",
"rgb": {
"r": 40,
"g": 113,
"b": 30
},
"hsl": {
"h": 112.771,
"s": 58.042,
"l": 28.039
},
"oklch": {
"l": 0.48504,
"c": 0.13738,
"h": 141.4
},
"luminance": 0.12355
}Semantic roles & 50–950 ramp
primary
#28711E
secondary
#9A46A5
accent
#47E1CF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79