#B1AA32#B1AA32
#B1AA32 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.2% C 0.137 H 106.0°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AA32 |
|---|---|
| RGB | rgb(177, 170, 50) |
| HSL | hsl(57, 56%, 45%) |
| HSV | hsv(57, 72%, 69%) |
| CMYK | cmyk(0%, 4%, 71.8%, 30.6%) |
| CIE-LAB | lab(68.26, -11.48, 59.23) |
| CIE-LCH | lch(68.26, 60.33, 100.97°) |
| OKLab | oklab(72.25% -0.0376 0.1313) |
| OKLCH | oklch(72.25% 0.137 106) |
| XYZ | xyz(33.0832, 38.3281, 8.6724) |
| Luminance | 0.3833 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.40
Vomit
#A2A415
ΔE00 3.52
Muddy Yellow
#BFAC05
ΔE00 4.65
Olive Yellow
#C2B709
ΔE00 5.30
Mustard Green
#A8B504
ΔE00 5.73
Puke Yellow
#C2BE0E
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AA32 #3239B1
analogous
#B16B32 #B1AA32 #79B132
triadic
#B1AA32 #32B1AA #AA32B1
tetradic
#B1AA32 #32B16B #3239B1 #B13279
square
#B1AA32 #32B16B #3239B1 #B13279
split-complementary
#B1AA32 #3279B1 #6B32B1
monochromatic
#524E17 #817C25 #B1AA32 #CEC752 #DCD782
Accessibility & contrast
On white
2.42
#B1AA32 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.67
#B1AA32 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AA32
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AA32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AA32 | 1.00 | 2.42 | 8.67 | 8.67 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A41D
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#BE9F93
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b1aa32; /* rgb */ color: rgb(177, 170, 50); /* oklch */ color: oklch(72.2% 0.137 106.0);
Tailwind
colors: {
custom: {
50: '#ccc372',
500: '#b1aa32',
950: '#000000',
},
}SCSS
$custom: #b1aa32; $custom-light: #ccc372; $custom-dark: #000000;
JSON
{
"hex": "#b1aa32",
"rgb": {
"r": 177,
"g": 170,
"b": 50
},
"hsl": {
"h": 56.693,
"s": 55.947,
"l": 44.51
},
"oklch": {
"l": 0.72245,
"c": 0.13655,
"h": 106
},
"luminance": 0.38327
}Semantic roles & 50–950 ramp
primary
#B1AA32
secondary
#7A7EC5
accent
#51DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B