#4A7C19#4A7C19
#4A7C19 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.138 H 133.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7C19 |
|---|---|
| RGB | rgb(74, 124, 25) |
| HSL | hsl(90, 66%, 29%) |
| HSV | hsv(90, 80%, 49%) |
| CMYK | cmyk(40.3%, 0%, 79.8%, 51.4%) |
| CIE-LAB | lab(46.90, -33.45, 45.10) |
| CIE-LCH | lch(46.90, 56.15, 126.56°) |
| OKLab | oklab(53.1% -0.0942 0.1002) |
| OKLCH | oklch(53.1% 0.138 133.2) |
| XYZ | xyz(10.2070, 15.9408, 3.4586) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.05
Avocado
#568203
ΔE00 3.94
Tree Green
#2A7E19
ΔE00 4.45
Dirty Green
#667E2C
ΔE00 5.60
Green
#008000
ΔE00 6.22
Sap Green
#5C8B15
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7C19 #4B197C
analogous
#7C7C19 #4A7C19 #197C1A
triadic
#4A7C19 #194A7C #7C194A
tetradic
#4A7C19 #197C7C #4B197C #7C1A19
square
#4A7C19 #197C7C #4B197C #7C1A19
split-complementary
#4A7C19 #1A197C #7C197C
monochromatic
#0F1905 #2C490F #4A7C19 #68AF23 #87D738
Accessibility & contrast
On white
5.01
#4A7C19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#4A7C19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A7C19
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7C19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A7C19 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817201
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#4A7769
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #4a7c19; /* rgb */ color: rgb(74, 124, 25); /* oklch */ color: oklch(53.1% 0.138 133.2);
Tailwind
colors: {
custom: {
50: '#81a25e',
500: '#4a7c19',
950: '#000000',
},
}SCSS
$custom: #4a7c19; $custom-light: #81a25e; $custom-dark: #000000;
JSON
{
"hex": "#4a7c19",
"rgb": {
"r": 74,
"g": 124,
"b": 25
},
"hsl": {
"h": 90.303,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.53101,
"c": 0.13751,
"h": 133.2
},
"luminance": 0.15941
}Semantic roles & 50–950 ramp
primary
#4A7C19
secondary
#7940B0
accent
#3EE995
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79