#4A7E1E#4A7E1E
#4A7E1E is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.137 H 134.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7E1E |
|---|---|
| RGB | rgb(74, 126, 30) |
| HSL | hsl(93, 62%, 31%) |
| HSV | hsv(93, 76%, 49%) |
| CMYK | cmyk(41.3%, 0%, 76.2%, 50.6%) |
| CIE-LAB | lab(47.59, -34.02, 43.97) |
| CIE-LCH | lch(47.59, 55.59, 127.73°) |
| OKLab | oklab(53.68% -0.0954 0.0986) |
| OKLCH | oklch(53.68% 0.137 134) |
| XYZ | xyz(10.5190, 16.4708, 3.8530) |
| Luminance | 0.1647 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.90
Avocado
#568203
ΔE00 4.05
Tree Green
#2A7E19
ΔE00 4.15
Dirty Green
#667E2C
ΔE00 5.65
Sap Green
#5C8B15
ΔE00 5.95
Green
#008000
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7E1E #521E7E
analogous
#7A7E1E #4A7E1E #1E7E22
triadic
#4A7E1E #1E4A7E #7E1E4A
tetradic
#4A7E1E #1E7A7E #521E7E #7E221E
square
#4A7E1E #1E7A7E #521E7E #7E221E
split-complementary
#4A7E1E #221E7E #7E1E7A
monochromatic
#101B06 #2D4D12 #4A7E1E #67AF2A #85D244
Accessibility & contrast
On white
4.89
#4A7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#4A7E1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A7E1E
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7E1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A7E1E | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83740B
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#4A796C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4a7e1e; /* rgb */ color: rgb(74, 126, 30); /* oklch */ color: oklch(53.7% 0.137 134.0);
Tailwind
colors: {
custom: {
50: '#81a461',
500: '#4a7e1e',
950: '#000000',
},
}SCSS
$custom: #4a7e1e; $custom-light: #81a461; $custom-dark: #000000;
JSON
{
"hex": "#4a7e1e",
"rgb": {
"r": 74,
"g": 126,
"b": 30
},
"hsl": {
"h": 92.5,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.53675,
"c": 0.13719,
"h": 134
},
"luminance": 0.16471
}Semantic roles & 50–950 ramp
primary
#4A7E1E
secondary
#8047B1
accent
#43E59B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79