#28751F#28751F
#28751F is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.142 H 141.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #28751F |
|---|---|
| RGB | rgb(40, 117, 31) |
| HSL | hsl(114, 58%, 29%) |
| HSV | hsv(114, 74%, 46%) |
| CMYK | cmyk(65.8%, 0%, 73.5%, 54.1%) |
| CIE-LAB | lab(43.17, -40.74, 38.65) |
| CIE-LCH | lch(43.17, 56.16, 136.51°) |
| OKLab | oklab(49.66% -0.1112 0.0881) |
| OKLCH | oklch(49.66% 0.142 141.6) |
| XYZ | xyz(7.4833, 13.2719, 3.4634) |
| Luminance | 0.1327 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.46
Darkish Green
#287C37
ΔE00 4.25
Green
#008000
ΔE00 4.97
Dark Grass Green
#388004
ΔE00 5.71
Darkgreen
#006400
ΔE00 6.21
Jungle Green
#048243
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28751F #6C1F75
analogous
#53751F #28751F #1F7541
triadic
#28751F #1F2875 #751F28
tetradic
#28751F #1F5375 #6C1F75 #75411F
square
#28751F #1F5375 #6C1F75 #75411F
split-complementary
#28751F #411F75 #751F53
monochromatic
#081806 #174512 #28751F #39A52C #50CD42
Accessibility & contrast
On white
5.75
#28751F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#28751F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28751F
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28751F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28751F | 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)
#786A11
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#1A7164
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #28751f; /* rgb */ color: rgb(40, 117, 31); /* oklch */ color: oklch(49.7% 0.142 141.6);
Tailwind
colors: {
custom: {
50: '#6d9e60',
500: '#28751f',
950: '#000000',
},
}SCSS
$custom: #28751f; $custom-light: #6d9e60; $custom-dark: #000000;
JSON
{
"hex": "#28751f",
"rgb": {
"r": 40,
"g": 117,
"b": 31
},
"hsl": {
"h": 113.721,
"s": 58.108,
"l": 29.02
},
"oklch": {
"l": 0.49662,
"c": 0.14182,
"h": 141.6
},
"luminance": 0.13273
}Semantic roles & 50–950 ramp
primary
#28751F
secondary
#9E47A9
accent
#46E1D1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79