#428227#428227
#428227 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.4% C 0.141 H 137.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #428227 |
|---|---|
| RGB | rgb(66, 130, 39) |
| HSL | hsl(102, 54%, 33%) |
| HSV | hsv(102, 70%, 51%) |
| CMYK | cmyk(49.2%, 0%, 70%, 49%) |
| CIE-LAB | lab(48.60, -37.80, 41.25) |
| CIE-LCH | lch(48.60, 55.95, 132.50°) |
| OKLab | oklab(54.42% -0.1044 0.0943) |
| OKLCH | oklch(54.42% 0.141 137.9) |
| XYZ | xyz(10.5953, 17.2693, 4.6941) |
| Luminance | 0.1727 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.10
Dark Grass Green
#388004
ΔE00 3.16
Forestgreen (CSS)
#228B22
ΔE00 4.35
Green
#008000
ΔE00 5.02
Fern Green
#548D44
ΔE00 5.60
Darkish Green
#287C37
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#428227 #672782
analogous
#6F8227 #428227 #278239
triadic
#428227 #274282 #822742
tetradic
#428227 #276F82 #672782 #823927
square
#428227 #276F82 #672782 #823927
split-complementary
#428227 #392782 #82276F
monochromatic
#12240B #2A5319 #428227 #5AB135 #7ACD57
Accessibility & contrast
On white
4.71
#428227 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#428227 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #428227
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##428227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##428227 | 1.00 | 4.71 | 4.45 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86771A
Deuteranopia (green-blind)
#7E712F
Tritanopia (blue-blind)
#3E7D70
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #428227; /* rgb */ color: rgb(66, 130, 39); /* oklch */ color: oklch(54.4% 0.141 137.9);
Tailwind
colors: {
custom: {
50: '#7ca766',
500: '#428227',
950: '#000000',
},
}SCSS
$custom: #428227; $custom-light: #7ca766; $custom-dark: #000000;
JSON
{
"hex": "#428227",
"rgb": {
"r": 66,
"g": 130,
"b": 39
},
"hsl": {
"h": 102.198,
"s": 53.846,
"l": 33.137
},
"oklch": {
"l": 0.54423,
"c": 0.1407,
"h": 137.9
},
"luminance": 0.1727
}Semantic roles & 50–950 ramp
primary
#428227
secondary
#9553B1
accent
#4BDDB2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A