#28741F#28741F
#28741F is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.141 H 141.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #28741F |
|---|---|
| RGB | rgb(40, 116, 31) |
| HSL | hsl(114, 58%, 29%) |
| HSV | hsv(114, 73%, 45%) |
| CMYK | cmyk(65.5%, 0%, 73.3%, 54.5%) |
| CIE-LAB | lab(42.82, -40.36, 38.29) |
| CIE-LCH | lch(42.82, 55.63, 136.51°) |
| OKLab | oklab(49.38% -0.1101 0.0873) |
| OKLCH | oklch(49.38% 0.141 141.6) |
| XYZ | xyz(7.3674, 13.0401, 3.4248) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.81
Darkish Green
#287C37
ΔE00 4.39
Green
#008000
ΔE00 5.28
Darkgreen
#006400
ΔE00 5.93
Dark Grass Green
#388004
ΔE00 6.00
Jungle Green
#048243
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28741F #6B1F74
analogous
#53741F #28741F #1F7441
triadic
#28741F #1F2874 #741F28
tetradic
#28741F #1F5374 #6B1F74 #74411F
square
#28741F #1F5374 #6B1F74 #74411F
split-complementary
#28741F #411F74 #741F53
monochromatic
#081806 #174412 #28741F #39A42C #50CC41
Accessibility & contrast
On white
5.82
#28741F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#28741F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28741F
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28741F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28741F | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#1B7063
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #28741f; /* rgb */ color: rgb(40, 116, 31); /* oklch */ color: oklch(49.4% 0.141 141.6);
Tailwind
colors: {
custom: {
50: '#6d9d60',
500: '#28741f',
950: '#000000',
},
}SCSS
$custom: #28741f; $custom-light: #6d9d60; $custom-dark: #000000;
JSON
{
"hex": "#28741f",
"rgb": {
"r": 40,
"g": 116,
"b": 31
},
"hsl": {
"h": 113.647,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.49375,
"c": 0.14055,
"h": 141.6
},
"luminance": 0.13041
}Semantic roles & 50–950 ramp
primary
#28741F
secondary
#9D47A8
accent
#47E1D1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79