#A7B528#A7B528
#A7B528 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.8% C 0.156 H 115.4°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B528 |
|---|---|
| RGB | rgb(167, 181, 40) |
| HSL | hsl(66, 64%, 43%) |
| HSV | hsv(66, 78%, 71%) |
| CMYK | cmyk(7.7%, 0%, 77.9%, 29%) |
| CIE-LAB | lab(70.47, -21.84, 64.38) |
| CIE-LCH | lch(70.47, 67.98, 108.74°) |
| OKLab | oklab(73.79% -0.0668 0.1407) |
| OKLCH | oklch(73.79% 0.156 115.4) |
| XYZ | xyz(32.8442, 41.4170, 8.2712) |
| Luminance | 0.4142 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.85
Snot
#ACBB0D
ΔE00 2.42
Puke Green
#9AAE07
ΔE00 2.76
Sick Green
#9DB92C
ΔE00 3.11
Pea
#A4BF20
ΔE00 3.37
Booger Green
#96B403
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B528 #3628B5
analogous
#B57C28 #A7B528 #61B528
triadic
#A7B528 #28A7B5 #B528A7
tetradic
#A7B528 #28B57C #3628B5 #B52861
square
#A7B528 #28B57C #3628B5 #B52861
split-complementary
#A7B528 #2861B5 #7C28B5
monochromatic
#4B5112 #79831D #A7B528 #C7D644 #D6E177
Accessibility & contrast
On white
2.26
#A7B528 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#A7B528 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B528
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B528 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B528 | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C1AD35
Tritanopia (blue-blind)
#B2AA9B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a7b528; /* rgb */ color: rgb(167, 181, 40); /* oklch */ color: oklch(73.8% 0.156 115.4);
Tailwind
colors: {
custom: {
50: '#c5cb6e',
500: '#a7b528',
950: '#000000',
},
}SCSS
$custom: #a7b528; $custom-light: #c5cb6e; $custom-dark: #000000;
JSON
{
"hex": "#a7b528",
"rgb": {
"r": 167,
"g": 181,
"b": 40
},
"hsl": {
"h": 65.957,
"s": 63.801,
"l": 43.333
},
"oklch": {
"l": 0.73794,
"c": 0.1558,
"h": 115.4
},
"luminance": 0.41416
}Semantic roles & 50–950 ramp
primary
#A7B528
secondary
#7970C8
accent
#41E751
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B