#4A7A16#4A7A16
#4A7A16 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.137 H 132.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7A16 |
|---|---|
| RGB | rgb(74, 122, 22) |
| HSL | hsl(89, 69%, 28%) |
| HSV | hsv(89, 82%, 48%) |
| CMYK | cmyk(39.3%, 0%, 82%, 52.2%) |
| CIE-LAB | lab(46.22, -32.72, 45.46) |
| CIE-LCH | lch(46.22, 56.01, 125.74°) |
| OKLab | oklab(52.54% -0.0924 0.1005) |
| OKLCH | oklch(52.54% 0.137 132.6) |
| XYZ | xyz(9.9283, 15.4324, 3.2145) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.47
Avocado
#568203
ΔE00 4.18
Tree Green
#2A7E19
ΔE00 4.80
Dirty Green
#667E2C
ΔE00 5.65
Green
#008000
ΔE00 6.53
Sap Green
#5C8B15
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7A16 #46167A
analogous
#7A7816 #4A7A16 #187A16
triadic
#4A7A16 #164A7A #7A164A
tetradic
#4A7A16 #167A78 #46167A #7A1618
square
#4A7A16 #167A78 #46167A #7A1618
split-complementary
#4A7A16 #16187A #78167A
monochromatic
#101A05 #2B460D #4A7A16 #69AE1F #89DA31
Accessibility & contrast
On white
5.14
#4A7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#4A7A16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A7A16
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7A16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A7A16 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#4B7568
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4a7a16; /* rgb */ color: rgb(74, 122, 22); /* oklch */ color: oklch(52.5% 0.137 132.6);
Tailwind
colors: {
custom: {
50: '#81a15d',
500: '#4a7a16',
950: '#000000',
},
}SCSS
$custom: #4a7a16; $custom-light: #81a15d; $custom-dark: #000000;
JSON
{
"hex": "#4a7a16",
"rgb": {
"r": 74,
"g": 122,
"b": 22
},
"hsl": {
"h": 88.8,
"s": 69.444,
"l": 28.235
},
"oklch": {
"l": 0.52543,
"c": 0.13651,
"h": 132.6
},
"luminance": 0.15433
}Semantic roles & 50–950 ramp
primary
#4A7A16
secondary
#743DAF
accent
#3CEC90
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79