#28731E#28731E
#28731E is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.140 H 141.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #28731E |
|---|---|
| RGB | rgb(40, 115, 30) |
| HSL | hsl(113, 59%, 28%) |
| HSV | hsv(113, 74%, 45%) |
| CMYK | cmyk(65.2%, 0%, 73.9%, 54.9%) |
| CIE-LAB | lab(42.47, -40.07, 38.34) |
| CIE-LCH | lch(42.47, 55.46, 136.27°) |
| OKLab | oklab(49.08% -0.1094 0.0873) |
| OKLCH | oklch(49.08% 0.14 141.4) |
| XYZ | xyz(7.2398, 12.8056, 3.3182) |
| Luminance | 0.1281 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.09
Darkish Green
#287C37
ΔE00 4.66
Green
#008000
ΔE00 5.52
Darkgreen
#006400
ΔE00 5.62
Dark Grass Green
#388004
ΔE00 6.19
Jungle Green
#048243
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28731E #691E73
analogous
#52731E #28731E #1E733E
triadic
#28731E #1E2873 #731E28
tetradic
#28731E #1E5273 #691E73 #733E1E
square
#28731E #1E5273 #691E73 #733E1E
split-complementary
#28731E #3E1E73 #731E52
monochromatic
#081806 #174211 #28731E #39A42B #4FCD3F
Accessibility & contrast
On white
5.90
#28731E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#28731E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28731E
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28731E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28731E | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766810
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#1B6F62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #28731e; /* rgb */ color: rgb(40, 115, 30); /* oklch */ color: oklch(49.1% 0.140 141.4);
Tailwind
colors: {
custom: {
50: '#6c9c5f',
500: '#28731e',
950: '#000000',
},
}SCSS
$custom: #28731e; $custom-light: #6c9c5f; $custom-dark: #000000;
JSON
{
"hex": "#28731e",
"rgb": {
"r": 40,
"g": 115,
"b": 30
},
"hsl": {
"h": 112.941,
"s": 58.621,
"l": 28.431
},
"oklch": {
"l": 0.49079,
"c": 0.13995,
"h": 141.4
},
"luminance": 0.12806
}Semantic roles & 50–950 ramp
primary
#28731E
secondary
#9C46A7
accent
#46E2CF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79