#428126#428126
#428126 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.140 H 137.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #428126 |
|---|---|
| RGB | rgb(66, 129, 38) |
| HSL | hsl(102, 54%, 33%) |
| HSV | hsv(102, 71%, 51%) |
| CMYK | cmyk(48.8%, 0%, 70.5%, 49.4%) |
| CIE-LAB | lab(48.26, -37.47, 41.32) |
| CIE-LCH | lch(48.26, 55.77, 132.20°) |
| OKLab | oklab(54.14% -0.1036 0.0943) |
| OKLCH | oklch(54.14% 0.14 137.7) |
| XYZ | xyz(10.4465, 16.9980, 4.5638) |
| Luminance | 0.1700 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.95
Dark Grass Green
#388004
ΔE00 3.03
Forestgreen (CSS)
#228B22
ΔE00 4.62
Green
#008000
ΔE00 4.96
Darkish Green
#287C37
ΔE00 5.69
Avocado
#568203
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#428126 #652681
analogous
#708126 #428126 #268137
triadic
#428126 #264281 #812642
tetradic
#428126 #267081 #652681 #813726
square
#428126 #267081 #652681 #813726
split-complementary
#428126 #372681 #812670
monochromatic
#12220A #2A5218 #428126 #5AB034 #7ACD55
Accessibility & contrast
On white
4.77
#428126 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#428126 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #428126
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##428126 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##428126 | 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)
#857619
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#3E7C6F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #428126; /* rgb */ color: rgb(66, 129, 38); /* oklch */ color: oklch(54.1% 0.140 137.7);
Tailwind
colors: {
custom: {
50: '#7ca666',
500: '#428126',
950: '#000000',
},
}SCSS
$custom: #428126; $custom-light: #7ca666; $custom-dark: #000000;
JSON
{
"hex": "#428126",
"rgb": {
"r": 66,
"g": 129,
"b": 38
},
"hsl": {
"h": 101.538,
"s": 54.491,
"l": 32.745
},
"oklch": {
"l": 0.54141,
"c": 0.1401,
"h": 137.7
},
"luminance": 0.16999
}Semantic roles & 50–950 ramp
primary
#428126
secondary
#9451B1
accent
#4ADEB0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A