#B5AB46#B5AB46
#B5AB46 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.122 H 103.7°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AB46 |
|---|---|
| RGB | rgb(181, 171, 70) |
| HSL | hsl(55, 44%, 49%) |
| HSV | hsv(55, 61%, 71%) |
| CMYK | cmyk(0%, 5.5%, 61.3%, 29%) |
| CIE-LAB | lab(69.03, -9.09, 51.89) |
| CIE-LCH | lch(69.03, 52.68, 99.93°) |
| OKLab | oklab(72.99% -0.0289 0.1189) |
| OKLCH | oklch(72.99% 0.122 103.7) |
| XYZ | xyz(34.7257, 39.3930, 11.5676) |
| Luminance | 0.3939 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.40
Vomit
#A2A415
ΔE00 5.46
Puke
#A5A502
ΔE00 5.58
Muddy Yellow
#BFAC05
ΔE00 5.74
Khaki (survey)
#AAA662
ΔE00 5.85
Olive Yellow
#C2B709
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AB46 #4650B5
analogous
#B57446 #B5AB46 #88B546
triadic
#B5AB46 #46B5AB #AB46B5
tetradic
#B5AB46 #46B574 #4650B5 #B54688
square
#B5AB46 #46B574 #4650B5 #B54688
split-complementary
#B5AB46 #4688B5 #7446B5
monochromatic
#5D5824 #898135 #B5AB46 #C8C070 #D9D39C
Accessibility & contrast
On white
2.37
#B5AB46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#B5AB46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AB46
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AB46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AB46 | 1.00 | 2.37 | 8.88 | 8.88 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A63B
Deuteranopia (green-blind)
#BDAB4C
Tritanopia (blue-blind)
#C2A095
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b5ab46; /* rgb */ color: rgb(181, 171, 70); /* oklch */ color: oklch(73.0% 0.122 103.7);
Tailwind
colors: {
custom: {
50: '#cec37e',
500: '#b5ab46',
950: '#000000',
},
}SCSS
$custom: #b5ab46; $custom-light: #cec37e; $custom-dark: #000000;
JSON
{
"hex": "#b5ab46",
"rgb": {
"r": 181,
"g": 171,
"b": 70
},
"hsl": {
"h": 54.595,
"s": 44.223,
"l": 49.216
},
"oklch": {
"l": 0.72993,
"c": 0.12233,
"h": 103.7
},
"luminance": 0.39392
}Semantic roles & 50–950 ramp
primary
#B5AB46
secondary
#9296C5
accent
#5FD454
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C