#B1B52B#B1B52B
#B1B52B is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.6% C 0.151 H 111.3°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B52B |
|---|---|
| RGB | rgb(177, 181, 43) |
| HSL | hsl(62, 62%, 44%) |
| HSV | hsv(62, 76%, 71%) |
| CMYK | cmyk(2.2%, 0%, 76.2%, 29%) |
| CIE-LAB | lab(71.26, -17.43, 64.46) |
| CIE-LCH | lch(71.26, 66.78, 105.13°) |
| OKLab | oklab(74.63% -0.0549 0.1411) |
| OKLCH | oklch(74.63% 0.151 111.3) |
| XYZ | xyz(35.0926, 42.5702, 8.6533) |
| Luminance | 0.4257 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.47
Snot
#ACBB0D
ΔE00 2.98
Puke Yellow
#C2BE0E
ΔE00 4.30
Bile
#B5C306
ΔE00 4.43
Puke Green
#9AAE07
ΔE00 4.57
Baby Puke Green
#B6C406
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B52B #2F2BB5
analogous
#B5742B #B1B52B #6CB52B
triadic
#B1B52B #2BB1B5 #B52BB1
tetradic
#B1B52B #2BB574 #2F2BB5 #B52B6C
square
#B1B52B #2BB574 #2F2BB5 #B52B6C
split-complementary
#B1B52B #2B6CB5 #742BB5
monochromatic
#505214 #81841F #B1B52B #D0D449 #DDE07B
Accessibility & contrast
On white
2.21
#B1B52B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#B1B52B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B52B
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B52B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B52B | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD05
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#BEA99B
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b1b52b; /* rgb */ color: rgb(177, 181, 43); /* oklch */ color: oklch(74.6% 0.151 111.3);
Tailwind
colors: {
custom: {
50: '#ccca70',
500: '#b1b52b',
950: '#000000',
},
}SCSS
$custom: #b1b52b; $custom-light: #ccca70; $custom-dark: #000000;
JSON
{
"hex": "#b1b52b",
"rgb": {
"r": 177,
"g": 181,
"b": 43
},
"hsl": {
"h": 61.739,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.74628,
"c": 0.15139,
"h": 111.3
},
"luminance": 0.42569
}Semantic roles & 50–950 ramp
primary
#B1B52B
secondary
#7674C8
accent
#43E548
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B