#28701E#28701E
#28701E is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.136 H 141.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #28701E |
|---|---|
| RGB | rgb(40, 112, 30) |
| HSL | hsl(113, 58%, 28%) |
| HSV | hsv(113, 73%, 44%) |
| CMYK | cmyk(64.3%, 0%, 73.2%, 56.1%) |
| CIE-LAB | lab(41.43, -38.91, 37.25) |
| CIE-LCH | lch(41.43, 53.87, 136.25°) |
| OKLab | oklab(48.22% -0.1063 0.085) |
| OKLCH | oklch(48.22% 0.136 141.3) |
| XYZ | xyz(6.9032, 12.1325, 3.2061) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.86
Tree Green
#2A7E19
ΔE00 5.13
Darkish Green
#287C37
ΔE00 5.22
Green
#008000
ΔE00 6.48
Dark Grass Green
#388004
ΔE00 7.11
Deep Green
#02590F
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28701E #661E70
analogous
#51701E #28701E #1E703D
triadic
#28701E #1E2870 #701E28
tetradic
#28701E #1E5170 #661E70 #703D1E
square
#28701E #1E5170 #661E70 #703D1E
split-complementary
#28701E #3D1E70 #701E51
monochromatic
#091806 #174011 #28701E #39A02B #4FCB3D
Accessibility & contrast
On white
6.13
#28701E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#28701E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28701E
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28701E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28701E | 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)
#736511
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#1C6C60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #28701e; /* rgb */ color: rgb(40, 112, 30); /* oklch */ color: oklch(48.2% 0.136 141.3);
Tailwind
colors: {
custom: {
50: '#6c9a5f',
500: '#28701e',
950: '#000000',
},
}SCSS
$custom: #28701e; $custom-light: #6c9a5f; $custom-dark: #000000;
JSON
{
"hex": "#28701e",
"rgb": {
"r": 40,
"g": 112,
"b": 30
},
"hsl": {
"h": 112.683,
"s": 57.746,
"l": 27.843
},
"oklch": {
"l": 0.48217,
"c": 0.13609,
"h": 141.3
},
"luminance": 0.12133
}Semantic roles & 50–950 ramp
primary
#28701E
secondary
#9946A4
accent
#47E1CE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79