#28751E#28751E
#28751E is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.142 H 141.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #28751E |
|---|---|
| RGB | rgb(40, 117, 30) |
| HSL | hsl(113, 59%, 29%) |
| HSV | hsv(113, 74%, 46%) |
| CMYK | cmyk(65.8%, 0%, 74.4%, 54.1%) |
| CIE-LAB | lab(43.16, -40.83, 39.05) |
| CIE-LCH | lch(43.16, 56.50, 136.28°) |
| OKLab | oklab(49.65% -0.1115 0.0888) |
| OKLCH | oklch(49.65% 0.143 141.5) |
| XYZ | xyz(7.4703, 13.2667, 3.3951) |
| Luminance | 0.1327 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.40
Darkish Green
#287C37
ΔE00 4.37
Green
#008000
ΔE00 4.89
Dark Grass Green
#388004
ΔE00 5.61
Darkgreen
#006400
ΔE00 6.18
Jungle Green
#048243
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28751E #6B1E75
analogous
#54751E #28751E #1E7540
triadic
#28751E #1E2875 #751E28
tetradic
#28751E #1E5475 #6B1E75 #75401E
square
#28751E #1E5475 #6B1E75 #75401E
split-complementary
#28751E #401E75 #751E54
monochromatic
#081806 #174412 #28751E #39A62A #50CE40
Accessibility & contrast
On white
5.75
#28751E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#28751E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28751E
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28751E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28751E | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A10
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#1B7164
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #28751e; /* rgb */ color: rgb(40, 117, 30); /* oklch */ color: oklch(49.7% 0.142 141.5);
Tailwind
colors: {
custom: {
50: '#6d9e60',
500: '#28751e',
950: '#000000',
},
}SCSS
$custom: #28751e; $custom-light: #6d9e60; $custom-dark: #000000;
JSON
{
"hex": "#28751e",
"rgb": {
"r": 40,
"g": 117,
"b": 30
},
"hsl": {
"h": 113.103,
"s": 59.184,
"l": 28.824
},
"oklch": {
"l": 0.49653,
"c": 0.1425,
"h": 141.5
},
"luminance": 0.13267
}Semantic roles & 50–950 ramp
primary
#28751E
secondary
#9D46A9
accent
#45E2D0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79