#427F2C#427F2C
#427F2C is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.7% C 0.133 H 138.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #427F2C |
|---|---|
| RGB | rgb(66, 127, 44) |
| HSL | hsl(104, 49%, 34%) |
| HSV | hsv(104, 65%, 50%) |
| CMYK | cmyk(48%, 0%, 65.4%, 50.2%) |
| CIE-LAB | lab(47.65, -36.04, 37.98) |
| CIE-LCH | lch(47.65, 52.36, 133.49°) |
| OKLab | oklab(53.66% -0.0992 0.0881) |
| OKLCH | oklch(53.66% 0.133 138.4) |
| XYZ | xyz(10.2904, 16.5182, 5.0285) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.17
Dark Grass Green
#388004
ΔE00 4.05
Darkish Green
#287C37
ΔE00 4.68
Forestgreen (CSS)
#228B22
ΔE00 5.33
Green
#008000
ΔE00 5.46
Fern Green
#548D44
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#427F2C #692C7F
analogous
#6B7F2C #427F2C #2C7F3F
triadic
#427F2C #2C427F #7F2C42
tetradic
#427F2C #2C6B7F #692C7F #7F3F2C
square
#427F2C #2C6B7F #692C7F #7F3F2C
split-complementary
#427F2C #3F2C7F #7F2C6B
monochromatic
#13240D #2A521C #427F2C #5AAC3C #7AC75E
Accessibility & contrast
On white
4.88
#427F2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#427F2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #427F2C
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##427F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##427F2C | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837422
Deuteranopia (green-blind)
#7B6F33
Tritanopia (blue-blind)
#3E7B6E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #427f2c; /* rgb */ color: rgb(66, 127, 44); /* oklch */ color: oklch(53.7% 0.133 138.4);
Tailwind
colors: {
custom: {
50: '#7ca569',
500: '#427f2c',
950: '#000000',
},
}SCSS
$custom: #427f2c; $custom-light: #7ca569; $custom-dark: #000000;
JSON
{
"hex": "#427f2c",
"rgb": {
"r": 66,
"g": 127,
"b": 44
},
"hsl": {
"h": 104.096,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.53657,
"c": 0.13268,
"h": 138.4
},
"luminance": 0.16519
}Semantic roles & 50–950 ramp
primary
#427F2C
secondary
#9759AD
accent
#50D8B4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A