#B5A73A#B5A73A
#B5A73A is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.0% C 0.128 H 101.9°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A73A |
|---|---|
| RGB | rgb(181, 167, 58) |
| HSL | hsl(53, 51%, 47%) |
| HSV | hsv(53, 68%, 71%) |
| CMYK | cmyk(0%, 7.7%, 68%, 29%) |
| CIE-LAB | lab(67.85, -7.74, 55.80) |
| CIE-LCH | lch(67.85, 56.33, 97.90°) |
| OKLab | oklab(72.02% -0.0264 0.1253) |
| OKLCH | oklch(72.02% 0.128 101.9) |
| XYZ | xyz(33.6399, 37.7681, 9.5202) |
| Luminance | 0.3777 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.53
Puke
#A5A502
ΔE00 5.06
Vomit
#A2A415
ΔE00 5.18
Brownish Yellow
#C9B003
ΔE00 6.06
Brown Yellow
#B29705
ΔE00 6.17
Olive Yellow
#C2B709
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A73A #3A48B5
analogous
#B56A3A #B5A73A #86B53A
triadic
#B5A73A #3AB5A7 #A73AB5
tetradic
#B5A73A #3AB56A #3A48B5 #B53A86
square
#B5A73A #3AB56A #3A48B5 #B53A86
split-complementary
#B5A73A #3A86B5 #6A3AB5
monochromatic
#58511C #877C2B #B5A73A #CCC060 #DBD28E
Accessibility & contrast
On white
2.46
#B5A73A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.55
#B5A73A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A73A
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A73A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A73A | 1.00 | 2.46 | 8.55 | 8.55 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A22B
Deuteranopia (green-blind)
#BAA841
Tritanopia (blue-blind)
#C39B91
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b5a73a; /* rgb */ color: rgb(181, 167, 58); /* oklch */ color: oklch(72.0% 0.128 101.9);
Tailwind
colors: {
custom: {
50: '#cec076',
500: '#b5a73a',
950: '#000000',
},
}SCSS
$custom: #b5a73a; $custom-light: #cec076; $custom-dark: #000000;
JSON
{
"hex": "#b5a73a",
"rgb": {
"r": 181,
"g": 167,
"b": 58
},
"hsl": {
"h": 53.171,
"s": 51.464,
"l": 46.863
},
"oklch": {
"l": 0.72019,
"c": 0.12805,
"h": 101.9
},
"luminance": 0.37767
}Semantic roles & 50–950 ramp
primary
#B5A73A
secondary
#858CC6
accent
#5DDB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B