#4A791A#4A791A
#4A791A is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.3% C 0.133 H 132.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4A791A |
|---|---|
| RGB | rgb(74, 121, 26) |
| HSL | hsl(90, 65%, 29%) |
| HSV | hsv(90, 79%, 47%) |
| CMYK | cmyk(38.8%, 0%, 78.5%, 52.5%) |
| CIE-LAB | lab(45.91, -32.03, 43.81) |
| CIE-LCH | lch(45.91, 54.27, 126.17°) |
| OKLab | oklab(52.3% -0.0903 0.0976) |
| OKLCH | oklch(52.3% 0.133 132.8) |
| XYZ | xyz(9.8477, 15.2047, 3.3930) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.83
Avocado
#568203
ΔE00 4.71
Tree Green
#2A7E19
ΔE00 4.80
Dirty Green
#667E2C
ΔE00 5.69
Green
#008000
ΔE00 6.67
Swamp
#698339
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A791A #491A79
analogous
#79791A #4A791A #1B791A
triadic
#4A791A #1A4A79 #791A4A
tetradic
#4A791A #1A7979 #491A79 #791A1B
square
#4A791A #1A7979 #491A79 #791A1B
split-complementary
#4A791A #1A1B79 #791A79
monochromatic
#0F1905 #2B470F #4A791A #69AB25 #88D439
Accessibility & contrast
On white
5.20
#4A791A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#4A791A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A791A
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A791A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A791A | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F05
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#4B7467
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4a791a; /* rgb */ color: rgb(74, 121, 26); /* oklch */ color: oklch(52.3% 0.133 132.8);
Tailwind
colors: {
custom: {
50: '#81a05e',
500: '#4a791a',
950: '#000000',
},
}SCSS
$custom: #4a791a; $custom-light: #81a05e; $custom-dark: #000000;
JSON
{
"hex": "#4a791a",
"rgb": {
"r": 74,
"g": 121,
"b": 26
},
"hsl": {
"h": 89.684,
"s": 64.626,
"l": 28.824
},
"oklch": {
"l": 0.52299,
"c": 0.13299,
"h": 132.8
},
"luminance": 0.15205
}Semantic roles & 50–950 ramp
primary
#4A791A
secondary
#7741AD
accent
#40E893
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79