#B1AA33#B1AA33
#B1AA33 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.136 H 106.0°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AA33 |
|---|---|
| RGB | rgb(177, 170, 51) |
| HSL | hsl(57, 55%, 45%) |
| HSV | hsv(57, 71%, 69%) |
| CMYK | cmyk(0%, 4%, 71.2%, 30.6%) |
| CIE-LAB | lab(68.27, -11.43, 58.86) |
| CIE-LCH | lch(68.27, 59.96, 100.99°) |
| OKLab | oklab(72.25% -0.0374 0.1307) |
| OKLCH | oklch(72.25% 0.136 106) |
| XYZ | xyz(33.1050, 38.3368, 8.7872) |
| Luminance | 0.3834 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.46
Vomit
#A2A415
ΔE00 3.56
Muddy Yellow
#BFAC05
ΔE00 4.72
Olive Yellow
#C2B709
ΔE00 5.37
Mustard Green
#A8B504
ΔE00 5.78
Puke Yellow
#C2BE0E
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AA33 #333AB1
analogous
#B16B33 #B1AA33 #79B133
triadic
#B1AA33 #33B1AA #AA33B1
tetradic
#B1AA33 #33B16B #333AB1 #B13379
square
#B1AA33 #33B16B #333AB1 #B13379
split-complementary
#B1AA33 #3379B1 #6B33B1
monochromatic
#524F18 #817C25 #B1AA33 #CEC754 #DBD683
Accessibility & contrast
On white
2.42
#B1AA33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.67
#B1AA33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AA33
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AA33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AA33 | 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)
#B9A41F
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#BE9F93
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b1aa33; /* rgb */ color: rgb(177, 170, 51); /* oklch */ color: oklch(72.3% 0.136 106.0);
Tailwind
colors: {
custom: {
50: '#ccc373',
500: '#b1aa33',
950: '#000000',
},
}SCSS
$custom: #b1aa33; $custom-light: #ccc373; $custom-dark: #000000;
JSON
{
"hex": "#b1aa33",
"rgb": {
"r": 177,
"g": 170,
"b": 51
},
"hsl": {
"h": 56.667,
"s": 55.263,
"l": 44.706
},
"oklch": {
"l": 0.72253,
"c": 0.1359,
"h": 106
},
"luminance": 0.38336
}Semantic roles & 50–950 ramp
primary
#B1AA33
secondary
#7B7FC5
accent
#52DF49
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B