#B5AB41#B5AB41
#B5AB41 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.126 H 103.9°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AB41 |
|---|---|
| RGB | rgb(181, 171, 65) |
| HSL | hsl(55, 47%, 48%) |
| HSV | hsv(55, 64%, 71%) |
| CMYK | cmyk(0%, 5.5%, 64.1%, 29%) |
| CIE-LAB | lab(68.99, -9.42, 54.04) |
| CIE-LCH | lch(68.99, 54.86, 99.89°) |
| OKLab | oklab(72.95% -0.0304 0.1227) |
| OKLCH | oklch(72.95% 0.126 103.9) |
| XYZ | xyz(34.5744, 39.3325, 10.7707) |
| Luminance | 0.3933 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.06
Puke
#A5A502
ΔE00 5.09
Muddy Yellow
#BFAC05
ΔE00 5.20
Darkkhaki
#BDB76B
ΔE00 5.91
Olive Yellow
#C2B709
ΔE00 5.99
Khaki (survey)
#AAA662
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AB41 #414BB5
analogous
#B57141 #B5AB41 #85B541
triadic
#B5AB41 #41B5AB #AB41B5
tetradic
#B5AB41 #41B571 #414BB5 #B54185
square
#B5AB41 #41B571 #414BB5 #B54185
split-complementary
#B5AB41 #4185B5 #7141B5
monochromatic
#5B5621 #888031 #B5AB41 #C9C16A #DAD497
Accessibility & contrast
On white
2.37
#B5AB41 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#B5AB41 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AB41
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AB41 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AB41 | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA534
Deuteranopia (green-blind)
#BDAB47
Tritanopia (blue-blind)
#C2A095
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b5ab41; /* rgb */ color: rgb(181, 171, 65); /* oklch */ color: oklch(72.9% 0.126 103.9);
Tailwind
colors: {
custom: {
50: '#cec37b',
500: '#b5ab41',
950: '#000000',
},
}SCSS
$custom: #b5ab41; $custom-light: #cec37b; $custom-dark: #000000;
JSON
{
"hex": "#b5ab41",
"rgb": {
"r": 181,
"g": 171,
"b": 65
},
"hsl": {
"h": 54.828,
"s": 47.154,
"l": 48.235
},
"oklch": {
"l": 0.72945,
"c": 0.12641,
"h": 103.9
},
"luminance": 0.39331
}Semantic roles & 50–950 ramp
primary
#B5AB41
secondary
#8C91C5
accent
#5DD751
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C