#28701F#28701F
#28701F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.135 H 141.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #28701F |
|---|---|
| RGB | rgb(40, 112, 31) |
| HSL | hsl(113, 57%, 28%) |
| HSV | hsv(113, 72%, 44%) |
| CMYK | cmyk(64.3%, 0%, 72.3%, 56.1%) |
| CIE-LAB | lab(41.43, -38.82, 36.83) |
| CIE-LCH | lch(41.43, 53.51, 136.51°) |
| OKLab | oklab(48.23% -0.106 0.0843) |
| OKLCH | oklch(48.23% 0.135 141.5) |
| XYZ | xyz(6.9162, 12.1377, 3.2744) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.91
Darkish Green
#287C37
ΔE00 5.13
Tree Green
#2A7E19
ΔE00 5.19
Green
#008000
ΔE00 6.56
Dark Grass Green
#388004
ΔE00 7.20
Deep Green
#02590F
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28701F #671F70
analogous
#50701F #28701F #1F703E
triadic
#28701F #1F2870 #701F28
tetradic
#28701F #1F5070 #671F70 #703E1F
square
#28701F #1F5070 #671F70 #703E1F
split-complementary
#28701F #3E1F70 #701F50
monochromatic
#091807 #174012 #28701F #39A02C #4FCA3F
Accessibility & contrast
On white
6.13
#28701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#28701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28701F
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28701F | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736513
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#1C6C60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #28701f; /* rgb */ color: rgb(40, 112, 31); /* oklch */ color: oklch(48.2% 0.135 141.5);
Tailwind
colors: {
custom: {
50: '#6c9a5f',
500: '#28701f',
950: '#000000',
},
}SCSS
$custom: #28701f; $custom-light: #6c9a5f; $custom-dark: #000000;
JSON
{
"hex": "#28701f",
"rgb": {
"r": 40,
"g": 112,
"b": 31
},
"hsl": {
"h": 113.333,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.48226,
"c": 0.13537,
"h": 141.5
},
"luminance": 0.12138
}Semantic roles & 50–950 ramp
primary
#28701F
secondary
#9A47A4
accent
#48E0CF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79