#428F28#428F28
#428F28 is a mid, vivid green. Relative luminance 0.210; OKLCH L 58.0% C 0.157 H 139.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #428F28 |
|---|---|
| RGB | rgb(66, 143, 40) |
| HSL | hsl(105, 56%, 36%) |
| HSV | hsv(105, 72%, 56%) |
| CMYK | cmyk(53.8%, 0%, 72%, 43.9%) |
| CIE-LAB | lab(52.90, -43.04, 45.33) |
| CIE-LCH | lch(52.90, 62.51, 133.52°) |
| OKLab | oklab(57.97% -0.1185 0.103) |
| OKLCH | oklch(57.97% 0.157 139) |
| XYZ | xyz(12.4517, 20.9554, 5.3957) |
| Luminance | 0.2096 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.30
Emerald Green
#028F1E
ΔE00 3.88
True Green
#089404
ΔE00 4.14
Irish Green
#019529
ΔE00 4.28
Fern Green
#548D44
ΔE00 4.61
Grass Green
#3F9B0B
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#428F28 #75288F
analogous
#758F28 #428F28 #288F41
triadic
#428F28 #28428F #8F2842
tetradic
#428F28 #28758F #75288F #8F4128
square
#428F28 #28758F #75288F #8F4128
split-complementary
#428F28 #41288F #8F2875
monochromatic
#162F0D #2C5F1B #428F28 #58BF35 #7CD25F
Accessibility & contrast
On white
4.05
#428F28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#428F28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #428F28
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##428F28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##428F28 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938218
Deuteranopia (green-blind)
#897C32
Tritanopia (blue-blind)
#3B8A7B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #428f28; /* rgb */ color: rgb(66, 143, 40); /* oklch */ color: oklch(58.0% 0.157 139.0);
Tailwind
colors: {
custom: {
50: '#7eb068',
500: '#428f28',
950: '#000000',
},
}SCSS
$custom: #428f28; $custom-light: #7eb068; $custom-dark: #000000;
JSON
{
"hex": "#428f28",
"rgb": {
"r": 66,
"g": 143,
"b": 40
},
"hsl": {
"h": 104.854,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.57965,
"c": 0.15704,
"h": 139
},
"luminance": 0.20956
}Semantic roles & 50–950 ramp
primary
#428F28
secondary
#A05BB8
accent
#48E0B9
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A