#427D1F#427D1F
#427D1F is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.140 H 136.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #427D1F |
|---|---|
| RGB | rgb(66, 125, 31) |
| HSL | hsl(98, 60%, 31%) |
| HSV | hsv(98, 75%, 49%) |
| CMYK | cmyk(47.2%, 0%, 75.2%, 51%) |
| CIE-LAB | lab(46.87, -36.33, 42.75) |
| CIE-LCH | lch(46.87, 56.10, 130.36°) |
| OKLab | oklab(52.99% -0.101 0.0963) |
| OKLCH | oklch(52.99% 0.14 136.4) |
| XYZ | xyz(9.8274, 15.9238, 3.8518) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.61
Tree Green
#2A7E19
ΔE00 2.86
Green
#008000
ΔE00 4.95
Avocado
#568203
ΔE00 5.36
Forestgreen (CSS)
#228B22
ΔE00 5.89
Darkish Green
#287C37
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#427D1F #5A1F7D
analogous
#717D1F #427D1F #1F7D2B
triadic
#427D1F #1F427D #7D1F42
tetradic
#427D1F #1F717D #5A1F7D #7D2B1F
square
#427D1F #1F717D #5A1F7D #7D2B1F
split-complementary
#427D1F #2B1F7D #7D1F71
monochromatic
#0E1B07 #284C13 #427D1F #5CAE2B #79D145
Accessibility & contrast
On white
5.02
#427D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#427D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #427D1F
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##427D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##427D1F | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#7A6D28
Tritanopia (blue-blind)
#3F786B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #427d1f; /* rgb */ color: rgb(66, 125, 31); /* oklch */ color: oklch(53.0% 0.140 136.4);
Tailwind
colors: {
custom: {
50: '#7ca361',
500: '#427d1f',
950: '#000000',
},
}SCSS
$custom: #427d1f; $custom-light: #7ca361; $custom-dark: #000000;
JSON
{
"hex": "#427d1f",
"rgb": {
"r": 66,
"g": 125,
"b": 31
},
"hsl": {
"h": 97.66,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.52989,
"c": 0.13959,
"h": 136.4
},
"luminance": 0.15924
}Semantic roles & 50–950 ramp
primary
#427D1F
secondary
#8948B0
accent
#44E3A8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A