#427F27#427F27
#427F27 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.6% C 0.137 H 137.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #427F27 |
|---|---|
| RGB | rgb(66, 127, 39) |
| HSL | hsl(102, 53%, 33%) |
| HSV | hsv(102, 69%, 50%) |
| CMYK | cmyk(48%, 0%, 69.3%, 50.2%) |
| CIE-LAB | lab(47.60, -36.52, 40.19) |
| CIE-LCH | lch(47.60, 54.31, 132.26°) |
| OKLab | oklab(53.61% -0.1009 0.0921) |
| OKLCH | oklch(53.61% 0.137 137.6) |
| XYZ | xyz(10.2020, 16.4828, 4.5630) |
| Luminance | 0.1648 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.87
Dark Grass Green
#388004
ΔE00 3.30
Green
#008000
ΔE00 5.10
Forestgreen (CSS)
#228B22
ΔE00 5.22
Darkish Green
#287C37
ΔE00 5.30
Avocado
#568203
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#427F27 #64277F
analogous
#6E7F27 #427F27 #277F38
triadic
#427F27 #27427F #7F2742
tetradic
#427F27 #276E7F #64277F #7F3827
square
#427F27 #276E7F #64277F #7F3827
split-complementary
#427F27 #38277F #7F276E
monochromatic
#11210A #2A5019 #427F27 #5AAE35 #7ACB55
Accessibility & contrast
On white
4.89
#427F27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#427F27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #427F27
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##427F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##427F27 | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83741B
Deuteranopia (green-blind)
#7B6F2F
Tritanopia (blue-blind)
#3E7A6D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #427f27; /* rgb */ color: rgb(66, 127, 39); /* oklch */ color: oklch(53.6% 0.137 137.6);
Tailwind
colors: {
custom: {
50: '#7ca566',
500: '#427f27',
950: '#000000',
},
}SCSS
$custom: #427f27; $custom-light: #7ca566; $custom-dark: #000000;
JSON
{
"hex": "#427f27",
"rgb": {
"r": 66,
"g": 127,
"b": 39
},
"hsl": {
"h": 101.591,
"s": 53.012,
"l": 32.549
},
"oklch": {
"l": 0.53605,
"c": 0.13665,
"h": 137.6
},
"luminance": 0.16483
}Semantic roles & 50–950 ramp
primary
#427F27
secondary
#9352B0
accent
#4BDCB0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A