#428D1F#428D1F
#428D1F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.160 H 137.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #428D1F |
|---|---|
| RGB | rgb(66, 141, 31) |
| HSL | hsl(101, 64%, 34%) |
| HSV | hsv(101, 78%, 55%) |
| CMYK | cmyk(53.2%, 0%, 78%, 44.7%) |
| CIE-LAB | lab(52.18, -42.92, 47.99) |
| CIE-LCH | lch(52.18, 64.38, 131.81°) |
| OKLab | oklab(57.35% -0.1188 0.1073) |
| OKLCH | oklch(57.35% 0.16 137.9) |
| XYZ | xyz(12.0186, 20.3060, 4.5822) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.41
Emerald Green
#028F1E
ΔE00 4.15
True Green
#089404
ΔE00 4.19
Sap Green
#5C8B15
ΔE00 4.65
Dark Grass Green
#388004
ΔE00 4.95
Irish Green
#019529
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#428D1F #6A1F8D
analogous
#798D1F #428D1F #1F8D33
triadic
#428D1F #1F428D #8D1F42
tetradic
#428D1F #1F798D #6A1F8D #8D331F
square
#428D1F #1F798D #6A1F8D #8D331F
split-complementary
#428D1F #331F8D #8D1F79
monochromatic
#132909 #2B5B14 #428D1F #59BF2A #7AD84E
Accessibility & contrast
On white
4.15
#428D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#428D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #428D1F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##428D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##428D1F | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928005
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#3C8878
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #428d1f; /* rgb */ color: rgb(66, 141, 31); /* oklch */ color: oklch(57.4% 0.160 137.9);
Tailwind
colors: {
custom: {
50: '#7faf63',
500: '#428d1f',
950: '#000000',
},
}SCSS
$custom: #428d1f; $custom-light: #7faf63; $custom-dark: #000000;
JSON
{
"hex": "#428d1f",
"rgb": {
"r": 66,
"g": 141,
"b": 31
},
"hsl": {
"h": 100.909,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.57353,
"c": 0.16006,
"h": 137.9
},
"luminance": 0.20307
}Semantic roles & 50–950 ramp
primary
#428D1F
secondary
#984DBB
accent
#41E7B2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A