#428127#428127
#428127 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.2% C 0.139 H 137.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #428127 |
|---|---|
| RGB | rgb(66, 129, 39) |
| HSL | hsl(102, 54%, 33%) |
| HSV | hsv(102, 70%, 51%) |
| CMYK | cmyk(48.8%, 0%, 69.8%, 49.4%) |
| CIE-LAB | lab(48.27, -37.38, 40.90) |
| CIE-LCH | lch(48.27, 55.40, 132.43°) |
| OKLab | oklab(54.15% -0.1032 0.0936) |
| OKLCH | oklch(54.15% 0.139 137.8) |
| XYZ | xyz(10.4629, 17.0045, 4.6499) |
| Luminance | 0.1701 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.98
Dark Grass Green
#388004
ΔE00 3.16
Forestgreen (CSS)
#228B22
ΔE00 4.63
Green
#008000
ΔE00 5.01
Darkish Green
#287C37
ΔE00 5.57
Avocado
#568203
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#428127 #662781
analogous
#6F8127 #428127 #278139
triadic
#428127 #274281 #812742
tetradic
#428127 #276F81 #662781 #813927
square
#428127 #276F81 #662781 #813927
split-complementary
#428127 #392781 #81276F
monochromatic
#12230B #2A5219 #428127 #5AB035 #7ACC56
Accessibility & contrast
On white
4.77
#428127 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#428127 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #428127
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##428127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##428127 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85761A
Deuteranopia (green-blind)
#7D712F
Tritanopia (blue-blind)
#3E7C6F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #428127; /* rgb */ color: rgb(66, 129, 39); /* oklch */ color: oklch(54.2% 0.139 137.8);
Tailwind
colors: {
custom: {
50: '#7ca666',
500: '#428127',
950: '#000000',
},
}SCSS
$custom: #428127; $custom-light: #7ca666; $custom-dark: #000000;
JSON
{
"hex": "#428127",
"rgb": {
"r": 66,
"g": 129,
"b": 39
},
"hsl": {
"h": 102,
"s": 53.571,
"l": 32.941
},
"oklch": {
"l": 0.54151,
"c": 0.13935,
"h": 137.8
},
"luminance": 0.17005
}Semantic roles & 50–950 ramp
primary
#428127
secondary
#9553B1
accent
#4BDDB1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A