#28702F#28702F
#28702F is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.122 H 145.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #28702F |
|---|---|
| RGB | rgb(40, 112, 47) |
| HSL | hsl(126, 47%, 30%) |
| HSV | hsv(126, 64%, 44%) |
| CMYK | cmyk(64.3%, 0%, 58%, 56.1%) |
| CIE-LAB | lab(41.60, -36.90, 29.29) |
| CIE-LCH | lch(41.60, 47.11, 141.56°) |
| OKLab | oklab(48.42% -0.0999 0.0698) |
| OKLCH | oklch(48.42% 0.122 145.1) |
| XYZ | xyz(7.1819, 12.2440, 4.6736) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.14
Darkgreen
#006400
ΔE00 6.54
Tree Green
#2A7E19
ΔE00 6.85
Jungle Green
#048243
ΔE00 6.89
Forest Green
#2D5A27
ΔE00 7.61
Pine
#2B5D34
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28702F #702869
analogous
#457028 #28702F #287053
triadic
#28702F #2F2870 #702F28
tetradic
#28702F #284570 #702869 #705328
square
#28702F #284570 #702869 #705328
split-complementary
#28702F #532870 #702845
monochromatic
#081709 #18431C #28702F #389D42 #51C15C
Accessibility & contrast
On white
6.09
#28702F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#28702F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28702F
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28702F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28702F | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#186D61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #28702f; /* rgb */ color: rgb(40, 112, 47); /* oklch */ color: oklch(48.4% 0.122 145.1);
Tailwind
colors: {
custom: {
50: '#6b9a69',
500: '#28702f',
950: '#000000',
},
}SCSS
$custom: #28702f; $custom-light: #6b9a69; $custom-dark: #000000;
JSON
{
"hex": "#28702f",
"rgb": {
"r": 40,
"g": 112,
"b": 47
},
"hsl": {
"h": 125.833,
"s": 47.368,
"l": 29.804
},
"oklch": {
"l": 0.48418,
"c": 0.1219,
"h": 145.1
},
"luminance": 0.12245
}Semantic roles & 50–950 ramp
primary
#28702F
secondary
#A2519A
accent
#51CAD7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A