#A7B52D#A7B52D
#A7B52D is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.8% C 0.153 H 115.5°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B52D |
|---|---|
| RGB | rgb(167, 181, 45) |
| HSL | hsl(66, 60%, 44%) |
| HSV | hsv(66, 75%, 71%) |
| CMYK | cmyk(7.7%, 0%, 75.1%, 29%) |
| CIE-LAB | lab(70.49, -21.62, 62.82) |
| CIE-LCH | lch(70.49, 66.44, 108.99°) |
| OKLab | oklab(73.82% -0.0658 0.1383) |
| OKLCH | oklch(73.82% 0.153 115.5) |
| XYZ | xyz(32.9348, 41.4532, 8.7484) |
| Luminance | 0.4145 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.26
Snot
#ACBB0D
ΔE00 2.74
Puke Green
#9AAE07
ΔE00 2.91
Sick Green
#9DB92C
ΔE00 2.99
Pea
#A4BF20
ΔE00 3.43
Booger Green
#96B403
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B52D #3B2DB5
analogous
#B57F2D #A7B52D #63B52D
triadic
#A7B52D #2DA7B5 #B52DA7
tetradic
#A7B52D #2DB57F #3B2DB5 #B52D63
square
#A7B52D #2DB57F #3B2DB5 #B52D63
split-complementary
#A7B52D #2D63B5 #7F2DB5
monochromatic
#4D5315 #7A8421 #A7B52D #C5D34D #D5DF7E
Accessibility & contrast
On white
2.26
#A7B52D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#A7B52D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B52D
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B52D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B52D | 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)
#C2AC0D
Deuteranopia (green-blind)
#C1AD39
Tritanopia (blue-blind)
#B2AA9B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a7b52d; /* rgb */ color: rgb(167, 181, 45); /* oklch */ color: oklch(73.8% 0.153 115.5);
Tailwind
colors: {
custom: {
50: '#c5cb71',
500: '#a7b52d',
950: '#000000',
},
}SCSS
$custom: #a7b52d; $custom-light: #c5cb71; $custom-dark: #000000;
JSON
{
"hex": "#a7b52d",
"rgb": {
"r": 167,
"g": 181,
"b": 45
},
"hsl": {
"h": 66.176,
"s": 60.177,
"l": 44.314
},
"oklch": {
"l": 0.73822,
"c": 0.15318,
"h": 115.5
},
"luminance": 0.41453
}Semantic roles & 50–950 ramp
primary
#A7B52D
secondary
#7F76C7
accent
#44E355
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B