#28711F#28711F
#28711F is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.137 H 141.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #28711F |
|---|---|
| RGB | rgb(40, 113, 31) |
| HSL | hsl(113, 57%, 28%) |
| HSV | hsv(113, 73%, 44%) |
| CMYK | cmyk(64.6%, 0%, 72.6%, 55.7%) |
| CIE-LAB | lab(41.78, -39.21, 37.20) |
| CIE-LCH | lch(41.78, 54.04, 136.51°) |
| OKLab | oklab(48.51% -0.107 0.085) |
| OKLCH | oklch(48.51% 0.137 141.5) |
| XYZ | xyz(7.0272, 12.3596, 3.3114) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.84
Darkish Green
#287C37
ΔE00 4.92
Darkgreen
#006400
ΔE00 5.15
Green
#008000
ΔE00 6.23
Dark Grass Green
#388004
ΔE00 6.89
Deep Green
#02590F
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28711F #681F71
analogous
#51711F #28711F #1F713F
triadic
#28711F #1F2871 #711F28
tetradic
#28711F #1F5171 #681F71 #713F1F
square
#28711F #1F5171 #681F71 #713F1F
split-complementary
#28711F #3F1F71 #711F51
monochromatic
#081807 #174112 #28711F #39A12C #4FCB40
Accessibility & contrast
On white
6.05
#28711F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#28711F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28711F
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28711F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28711F | 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)
#746613
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#1C6D61
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #28711f; /* rgb */ color: rgb(40, 113, 31); /* oklch */ color: oklch(48.5% 0.137 141.5);
Tailwind
colors: {
custom: {
50: '#6c9b60',
500: '#28711f',
950: '#000000',
},
}SCSS
$custom: #28711f; $custom-light: #6c9b60; $custom-dark: #000000;
JSON
{
"hex": "#28711f",
"rgb": {
"r": 40,
"g": 113,
"b": 31
},
"hsl": {
"h": 113.415,
"s": 56.944,
"l": 28.235
},
"oklch": {
"l": 0.48514,
"c": 0.13667,
"h": 141.5
},
"luminance": 0.1236
}Semantic roles & 50–950 ramp
primary
#28711F
secondary
#9B47A5
accent
#48E0CF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79