#427E1A#427E1A
#427E1A is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.2% C 0.144 H 136.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #427E1A |
|---|---|
| RGB | rgb(66, 126, 26) |
| HSL | hsl(96, 66%, 30%) |
| HSV | hsv(96, 79%, 49%) |
| CMYK | cmyk(47.6%, 0%, 79.4%, 50.6%) |
| CIE-LAB | lab(47.18, -37.11, 44.89) |
| CIE-LCH | lch(47.18, 58.24, 129.58°) |
| OKLab | oklab(53.23% -0.1034 0.1) |
| OKLCH | oklch(53.23% 0.144 136) |
| XYZ | xyz(9.8938, 16.1539, 3.5738) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.97
Tree Green
#2A7E19
ΔE00 2.98
Avocado
#568203
ΔE00 4.78
Green
#008000
ΔE00 4.80
Forestgreen (CSS)
#228B22
ΔE00 5.72
Sap Green
#5C8B15
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#427E1A #561A7E
analogous
#747E1A #427E1A #1A7E24
triadic
#427E1A #1A427E #7E1A42
tetradic
#427E1A #1A747E #561A7E #7E241A
square
#427E1A #1A747E #561A7E #7E241A
split-complementary
#427E1A #241A7E #7E1A74
monochromatic
#0D1905 #274B10 #427E1A #5DB124 #7AD73C
Accessibility & contrast
On white
4.96
#427E1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#427E1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #427E1A
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##427E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##427E1A | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837302
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#40796B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #427e1a; /* rgb */ color: rgb(66, 126, 26); /* oklch */ color: oklch(53.2% 0.144 136.0);
Tailwind
colors: {
custom: {
50: '#7da45f',
500: '#427e1a',
950: '#000000',
},
}SCSS
$custom: #427e1a; $custom-light: #7da45f; $custom-dark: #000000;
JSON
{
"hex": "#427e1a",
"rgb": {
"r": 66,
"g": 126,
"b": 26
},
"hsl": {
"h": 96,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.53226,
"c": 0.1439,
"h": 136
},
"luminance": 0.16155
}Semantic roles & 50–950 ramp
primary
#427E1A
secondary
#8542B2
accent
#3FE9A5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79