#B1AC52#B1AC52
#B1AC52 is a light, moderate yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.113 H 106.0°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AC52 |
|---|---|
| RGB | rgb(177, 172, 82) |
| HSL | hsl(57, 38%, 51%) |
| HSV | hsv(57, 54%, 69%) |
| CMYK | cmyk(0%, 2.8%, 53.7%, 30.6%) |
| CIE-LAB | lab(69.08, -10.40, 46.27) |
| CIE-LCH | lch(69.08, 47.42, 102.66°) |
| OKLab | oklab(72.99% -0.031 0.1084) |
| OKLCH | oklch(72.99% 0.113 106) |
| XYZ | xyz(34.4079, 39.4624, 13.7855) |
| Luminance | 0.3946 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.07
Khaki (survey)
#AAA662
ΔE00 4.08
Vomit
#A2A415
ΔE00 6.25
Puke
#A5A502
ΔE00 6.70
Light Olive
#ACBF69
ΔE00 7.75
Booger
#9BB53C
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AC52 #5257B1
analogous
#B17C52 #B1AC52 #86B152
triadic
#B1AC52 #52B1AC #AC52B1
tetradic
#B1AC52 #52B17C #5257B1 #B15286
square
#B1AC52 #52B17C #5257B1 #B15286
split-complementary
#B1AC52 #5286B1 #7C52B1
monochromatic
#5E5B2A #88843D #B1AC52 #C4C07C #D7D4A6
Accessibility & contrast
On white
2.36
#B1AC52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#B1AC52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AC52
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AC52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AC52 | 1.00 | 2.36 | 8.89 | 8.89 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A649
Deuteranopia (green-blind)
#BBAA57
Tritanopia (blue-blind)
#BCA298
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b1ac52; /* rgb */ color: rgb(177, 172, 82); /* oklch */ color: oklch(73.0% 0.113 106.0);
Tailwind
colors: {
custom: {
50: '#cac485',
500: '#b1ac52',
950: '#000000',
},
}SCSS
$custom: #b1ac52; $custom-light: #cac485; $custom-dark: #000000;
JSON
{
"hex": "#b1ac52",
"rgb": {
"r": 177,
"g": 172,
"b": 82
},
"hsl": {
"h": 56.842,
"s": 37.849,
"l": 50.784
},
"oklch": {
"l": 0.72989,
"c": 0.11274,
"h": 106
},
"luminance": 0.39461
}Semantic roles & 50–950 ramp
primary
#B1AC52
secondary
#9A9DC4
accent
#60CE5A
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13120B
muted
#82817C