#A7B52A#A7B52A
#A7B52A is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.8% C 0.155 H 115.4°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B52A |
|---|---|
| RGB | rgb(167, 181, 42) |
| HSL | hsl(66, 62%, 44%) |
| HSV | hsv(66, 77%, 71%) |
| CMYK | cmyk(7.7%, 0%, 76.8%, 29%) |
| CIE-LAB | lab(70.48, -21.75, 63.77) |
| CIE-LCH | lch(70.48, 67.38, 108.83°) |
| OKLab | oklab(73.8% -0.0665 0.1398) |
| OKLCH | oklch(73.8% 0.155 115.4) |
| XYZ | xyz(32.8791, 41.4310, 8.4550) |
| Luminance | 0.4143 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.01
Snot
#ACBB0D
ΔE00 2.54
Puke Green
#9AAE07
ΔE00 2.82
Sick Green
#9DB92C
ΔE00 3.06
Pea
#A4BF20
ΔE00 3.39
Booger Green
#96B403
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B52A #382AB5
analogous
#B57D2A #A7B52A #61B52A
triadic
#A7B52A #2AA7B5 #B52AA7
tetradic
#A7B52A #2AB57D #382AB5 #B52A61
square
#A7B52A #2AB57D #382AB5 #B52A61
split-complementary
#A7B52A #2A61B5 #7D2AB5
monochromatic
#4B5213 #79831E #A7B52A #C6D448 #D6E079
Accessibility & contrast
On white
2.26
#A7B52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#A7B52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B52A
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B52A | 1.00 | 2.26 | 9.29 | 9.29 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB02
Deuteranopia (green-blind)
#C1AD37
Tritanopia (blue-blind)
#B2AA9B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a7b52a; /* rgb */ color: rgb(167, 181, 42); /* oklch */ color: oklch(73.8% 0.155 115.4);
Tailwind
colors: {
custom: {
50: '#c5cb6f',
500: '#a7b52a',
950: '#000000',
},
}SCSS
$custom: #a7b52a; $custom-light: #c5cb6f; $custom-dark: #000000;
JSON
{
"hex": "#a7b52a",
"rgb": {
"r": 167,
"g": 181,
"b": 42
},
"hsl": {
"h": 66.043,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.73805,
"c": 0.15478,
"h": 115.4
},
"luminance": 0.4143
}Semantic roles & 50–950 ramp
primary
#A7B52A
secondary
#7B73C8
accent
#42E553
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B