#4A7D19#4A7D19
#4A7D19 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.139 H 133.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7D19 |
|---|---|
| RGB | rgb(74, 125, 25) |
| HSL | hsl(91, 67%, 29%) |
| HSV | hsv(91, 80%, 49%) |
| CMYK | cmyk(40.8%, 0%, 80%, 51%) |
| CIE-LAB | lab(47.23, -33.89, 45.42) |
| CIE-LCH | lch(47.23, 56.67, 126.73°) |
| OKLab | oklab(53.37% -0.0954 0.1008) |
| OKLCH | oklch(53.37% 0.139 133.4) |
| XYZ | xyz(10.3330, 16.1928, 3.5006) |
| Luminance | 0.1619 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.85
Avocado
#568203
ΔE00 3.75
Tree Green
#2A7E19
ΔE00 4.38
Dirty Green
#667E2C
ΔE00 5.61
Sap Green
#5C8B15
ΔE00 6.01
Green
#008000
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7D19 #4C197D
analogous
#7C7D19 #4A7D19 #197D1A
triadic
#4A7D19 #194A7D #7D194A
tetradic
#4A7D19 #197C7D #4C197D #7D1A19
square
#4A7D19 #197C7D #4C197D #7D1A19
split-complementary
#4A7D19 #1A197D #7D197C
monochromatic
#0F1A05 #2C4A0F #4A7D19 #68B023 #87D739
Accessibility & contrast
On white
4.95
#4A7D19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#4A7D19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A7D19
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7D19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A7D19 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#7B6F24
Tritanopia (blue-blind)
#4A786A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4a7d19; /* rgb */ color: rgb(74, 125, 25); /* oklch */ color: oklch(53.4% 0.139 133.4);
Tailwind
colors: {
custom: {
50: '#81a35e',
500: '#4a7d19',
950: '#000000',
},
}SCSS
$custom: #4a7d19; $custom-light: #81a35e; $custom-dark: #000000;
JSON
{
"hex": "#4a7d19",
"rgb": {
"r": 74,
"g": 125,
"b": 25
},
"hsl": {
"h": 90.6,
"s": 66.667,
"l": 29.412
},
"oklch": {
"l": 0.53371,
"c": 0.13882,
"h": 133.4
},
"luminance": 0.16193
}Semantic roles & 50–950 ramp
primary
#4A7D19
secondary
#7A40B1
accent
#3EEA96
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79