#B5AA41#B5AA41
#B5AA41 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.7% C 0.125 H 103.3°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AA41 |
|---|---|
| RGB | rgb(181, 170, 65) |
| HSL | hsl(54, 47%, 48%) |
| HSV | hsv(54, 64%, 71%) |
| CMYK | cmyk(0%, 6.1%, 64.1%, 29%) |
| CIE-LAB | lab(68.72, -8.90, 53.75) |
| CIE-LCH | lch(68.72, 54.48, 99.40°) |
| OKLab | oklab(72.73% -0.0289 0.1221) |
| OKLCH | oklch(72.73% 0.125 103.3) |
| XYZ | xyz(34.3862, 38.9562, 10.7080) |
| Luminance | 0.3896 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.16
Muddy Yellow
#BFAC05
ΔE00 5.17
Puke
#A5A502
ΔE00 5.19
Darkkhaki
#BDB76B
ΔE00 6.02
Olive Yellow
#C2B709
ΔE00 6.18
Khaki (survey)
#AAA662
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AA41 #414CB5
analogous
#B57041 #B5AA41 #86B541
triadic
#B5AA41 #41B5AA #AA41B5
tetradic
#B5AA41 #41B570 #414CB5 #B54186
square
#B5AA41 #41B570 #414CB5 #B54186
split-complementary
#B5AA41 #4186B5 #7041B5
monochromatic
#5B5521 #888031 #B5AA41 #C9C06A #DAD397
Accessibility & contrast
On white
2.39
#B5AA41 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.79
#B5AA41 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AA41
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AA41 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AA41 | 1.00 | 2.39 | 8.79 | 8.79 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A534
Deuteranopia (green-blind)
#BCAA47
Tritanopia (blue-blind)
#C29F94
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b5aa41; /* rgb */ color: rgb(181, 170, 65); /* oklch */ color: oklch(72.7% 0.125 103.3);
Tailwind
colors: {
custom: {
50: '#cec37b',
500: '#b5aa41',
950: '#000000',
},
}SCSS
$custom: #b5aa41; $custom-light: #cec37b; $custom-dark: #000000;
JSON
{
"hex": "#b5aa41",
"rgb": {
"r": 181,
"g": 170,
"b": 65
},
"hsl": {
"h": 54.31,
"s": 47.154,
"l": 48.235
},
"oklch": {
"l": 0.72729,
"c": 0.12547,
"h": 103.3
},
"luminance": 0.38955
}Semantic roles & 50–950 ramp
primary
#B5AA41
secondary
#8C92C5
accent
#5ED751
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C