#A7B531#A7B531
#A7B531 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.8% C 0.151 H 115.5°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B531 |
|---|---|
| RGB | rgb(167, 181, 49) |
| HSL | hsl(66, 57%, 45%) |
| HSV | hsv(66, 73%, 71%) |
| CMYK | cmyk(7.7%, 0%, 72.9%, 29%) |
| CIE-LAB | lab(70.51, -21.43, 61.49) |
| CIE-LCH | lch(70.51, 65.11, 109.22°) |
| OKLab | oklab(73.85% -0.065 0.1362) |
| OKLCH | oklch(73.85% 0.151 115.5) |
| XYZ | xyz(33.0155, 41.4855, 9.1734) |
| Luminance | 0.4148 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.62
Sick Green
#9DB92C
ΔE00 2.94
Snot
#ACBB0D
ΔE00 3.04
Puke Green
#9AAE07
ΔE00 3.09
Booger
#9BB53C
ΔE00 3.36
Pea
#A4BF20
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B531 #3F31B5
analogous
#B58131 #A7B531 #65B531
triadic
#A7B531 #31A7B5 #B531A7
tetradic
#A7B531 #31B581 #3F31B5 #B53165
square
#A7B531 #31B581 #3F31B5 #B53165
split-complementary
#A7B531 #3165B5 #8131B5
monochromatic
#4E5517 #7B8524 #A7B531 #C3D053 #D4DD83
Accessibility & contrast
On white
2.26
#A7B531 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#A7B531 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B531
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B531 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B531 | 1.00 | 2.26 | 9.30 | 9.30 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC17
Deuteranopia (green-blind)
#C1AD3C
Tritanopia (blue-blind)
#B2AA9C
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a7b531; /* rgb */ color: rgb(167, 181, 49); /* oklch */ color: oklch(73.8% 0.151 115.5);
Tailwind
colors: {
custom: {
50: '#c5cb73',
500: '#a7b531',
950: '#000000',
},
}SCSS
$custom: #a7b531; $custom-light: #c5cb73; $custom-dark: #000000;
JSON
{
"hex": "#a7b531",
"rgb": {
"r": 167,
"g": 181,
"b": 49
},
"hsl": {
"h": 66.364,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.73847,
"c": 0.15088,
"h": 115.5
},
"luminance": 0.41485
}Semantic roles & 50–950 ramp
primary
#A7B531
secondary
#837BC7
accent
#47E157
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B