#427F2E#427F2E
#427F2E is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.7% C 0.131 H 138.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #427F2E |
|---|---|
| RGB | rgb(66, 127, 46) |
| HSL | hsl(105, 47%, 34%) |
| HSV | hsv(105, 64%, 50%) |
| CMYK | cmyk(48%, 0%, 63.8%, 50.2%) |
| CIE-LAB | lab(47.67, -35.82, 37.06) |
| CIE-LCH | lch(47.67, 51.55, 134.03°) |
| OKLab | oklab(53.68% -0.0985 0.0863) |
| OKLCH | oklch(53.68% 0.131 138.8) |
| XYZ | xyz(10.3289, 16.5336, 5.2313) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.35
Dark Grass Green
#388004
ΔE00 4.38
Darkish Green
#287C37
ΔE00 4.43
Forestgreen (CSS)
#228B22
ΔE00 5.41
Green
#008000
ΔE00 5.64
Fern Green
#548D44
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#427F2E #6B2E7F
analogous
#6B7F2E #427F2E #2E7F43
triadic
#427F2E #2E427F #7F2E42
tetradic
#427F2E #2E6B7F #6B2E7F #7F432E
square
#427F2E #2E6B7F #6B2E7F #7F432E
split-complementary
#427F2E #432E7F #7F2E6B
monochromatic
#13250D #2B521E #427F2E #59AC3E #7AC661
Accessibility & contrast
On white
4.88
#427F2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#427F2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #427F2E
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##427F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##427F2E | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837425
Deuteranopia (green-blind)
#7B6F34
Tritanopia (blue-blind)
#3D7B6E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #427f2e; /* rgb */ color: rgb(66, 127, 46); /* oklch */ color: oklch(53.7% 0.131 138.8);
Tailwind
colors: {
custom: {
50: '#7ca56a',
500: '#427f2e',
950: '#000000',
},
}SCSS
$custom: #427f2e; $custom-light: #7ca56a; $custom-dark: #000000;
JSON
{
"hex": "#427f2e",
"rgb": {
"r": 66,
"g": 127,
"b": 46
},
"hsl": {
"h": 105.185,
"s": 46.821,
"l": 33.922
},
"oklch": {
"l": 0.5368,
"c": 0.131,
"h": 138.8
},
"luminance": 0.16534
}Semantic roles & 50–950 ramp
primary
#427F2E
secondary
#995CAD
accent
#51D6B6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A