#B1AB33#B1AB33
#B1AB33 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.5% C 0.137 H 106.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AB33 |
|---|---|
| RGB | rgb(177, 171, 51) |
| HSL | hsl(57, 55%, 45%) |
| HSV | hsv(57, 71%, 69%) |
| CMYK | cmyk(0%, 3.4%, 71.2%, 30.6%) |
| CIE-LAB | lab(68.54, -11.95, 59.13) |
| CIE-LCH | lch(68.54, 60.32, 101.43°) |
| OKLab | oklab(72.47% -0.0388 0.1312) |
| OKLCH | oklch(72.47% 0.137 106.5) |
| XYZ | xyz(33.2932, 38.7131, 8.8500) |
| Luminance | 0.3871 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.44
Vomit
#A2A415
ΔE00 3.53
Muddy Yellow
#BFAC05
ΔE00 4.82
Olive Yellow
#C2B709
ΔE00 5.23
Mustard Green
#A8B504
ΔE00 5.45
Puke Yellow
#C2BE0E
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AB33 #3339B1
analogous
#B16C33 #B1AB33 #78B133
triadic
#B1AB33 #33B1AB #AB33B1
tetradic
#B1AB33 #33B16C #3339B1 #B13378
square
#B1AB33 #33B16C #3339B1 #B13378
split-complementary
#B1AB33 #3378B1 #6C33B1
monochromatic
#524F18 #817D25 #B1AB33 #CEC854 #DBD783
Accessibility & contrast
On white
2.40
#B1AB33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.74
#B1AB33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AB33
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AB33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AB33 | 1.00 | 2.40 | 8.74 | 8.74 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA51F
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#BEA093
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b1ab33; /* rgb */ color: rgb(177, 171, 51); /* oklch */ color: oklch(72.5% 0.137 106.5);
Tailwind
colors: {
custom: {
50: '#ccc373',
500: '#b1ab33',
950: '#000000',
},
}SCSS
$custom: #b1ab33; $custom-light: #ccc373; $custom-dark: #000000;
JSON
{
"hex": "#b1ab33",
"rgb": {
"r": 177,
"g": 171,
"b": 51
},
"hsl": {
"h": 57.143,
"s": 55.263,
"l": 44.706
},
"oklch": {
"l": 0.72472,
"c": 0.13686,
"h": 106.5
},
"luminance": 0.38712
}Semantic roles & 50–950 ramp
primary
#B1AB33
secondary
#7B7FC5
accent
#50DF49
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B