#428E1F#428E1F
#428E1F is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.161 H 138.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #428E1F |
|---|---|
| RGB | rgb(66, 142, 31) |
| HSL | hsl(101, 64%, 34%) |
| HSV | hsv(101, 78%, 56%) |
| CMYK | cmyk(53.5%, 0%, 78.2%, 44.3%) |
| CIE-LAB | lab(52.51, -43.32, 48.31) |
| CIE-LCH | lch(52.51, 64.89, 131.88°) |
| OKLab | oklab(57.63% -0.1198 0.108) |
| OKLCH | oklch(57.63% 0.161 138) |
| XYZ | xyz(12.1667, 20.6023, 4.6316) |
| Luminance | 0.2060 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.52
True Green
#089404
ΔE00 4.00
Emerald Green
#028F1E
ΔE00 4.13
Sap Green
#5C8B15
ΔE00 4.69
Grass Green
#3F9B0B
ΔE00 4.71
Irish Green
#019529
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#428E1F #6B1F8E
analogous
#7A8E1F #428E1F #1F8E34
triadic
#428E1F #1F428E #8E1F42
tetradic
#428E1F #1F7A8E #6B1F8E #8E341F
square
#428E1F #1F7A8E #6B1F8E #8E341F
split-complementary
#428E1F #341F8E #8E1F7A
monochromatic
#132A09 #2B5C14 #428E1F #59C02A #7AD94F
Accessibility & contrast
On white
4.10
#428E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#428E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #428E1F
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##428E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##428E1F | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#3C8979
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #428e1f; /* rgb */ color: rgb(66, 142, 31); /* oklch */ color: oklch(57.6% 0.161 138.0);
Tailwind
colors: {
custom: {
50: '#7fb064',
500: '#428e1f',
950: '#000000',
},
}SCSS
$custom: #428e1f; $custom-light: #7fb064; $custom-dark: #000000;
JSON
{
"hex": "#428e1f",
"rgb": {
"r": 66,
"g": 142,
"b": 31
},
"hsl": {
"h": 101.081,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.57625,
"c": 0.16129,
"h": 138
},
"luminance": 0.20603
}Semantic roles & 50–950 ramp
primary
#428E1F
secondary
#994DBB
accent
#41E7B3
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A