#427F2F#427F2F
#427F2F is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.7% C 0.130 H 139.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #427F2F |
|---|---|
| RGB | rgb(66, 127, 47) |
| HSL | hsl(106, 46%, 34%) |
| HSV | hsv(106, 63%, 50%) |
| CMYK | cmyk(48%, 0%, 63%, 50.2%) |
| CIE-LAB | lab(47.68, -35.71, 36.60) |
| CIE-LCH | lch(47.68, 51.14, 134.30°) |
| OKLab | oklab(53.69% -0.0982 0.0855) |
| OKLCH | oklch(53.69% 0.13 139) |
| XYZ | xyz(10.3489, 16.5415, 5.3363) |
| Luminance | 0.1654 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.45
Darkish Green
#287C37
ΔE00 4.32
Dark Grass Green
#388004
ΔE00 4.54
Forestgreen (CSS)
#228B22
ΔE00 5.46
Green
#008000
ΔE00 5.74
Fern Green
#548D44
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#427F2F #6C2F7F
analogous
#6A7F2F #427F2F #2F7F44
triadic
#427F2F #2F427F #7F2F42
tetradic
#427F2F #2F6A7F #6C2F7F #7F442F
square
#427F2F #2F6A7F #6C2F7F #7F442F
split-complementary
#427F2F #442F7F #7F2F6A
monochromatic
#14260E #2B521E #427F2F #59AC40 #7AC563
Accessibility & contrast
On white
4.87
#427F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#427F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #427F2F
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##427F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##427F2F | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837426
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#3D7B6E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #427f2f; /* rgb */ color: rgb(66, 127, 47); /* oklch */ color: oklch(53.7% 0.130 139.0);
Tailwind
colors: {
custom: {
50: '#7ca56b',
500: '#427f2f',
950: '#000000',
},
}SCSS
$custom: #427f2f; $custom-light: #7ca56b; $custom-dark: #000000;
JSON
{
"hex": "#427f2f",
"rgb": {
"r": 66,
"g": 127,
"b": 47
},
"hsl": {
"h": 105.75,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.53692,
"c": 0.13015,
"h": 139
},
"luminance": 0.16542
}Semantic roles & 50–950 ramp
primary
#427F2F
secondary
#9A5EAC
accent
#52D6B6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A