#B1B533#B1B533
#B1B533 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.7% C 0.147 H 111.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B533 |
|---|---|
| RGB | rgb(177, 181, 51) |
| HSL | hsl(62, 56%, 45%) |
| HSV | hsv(62, 72%, 71%) |
| CMYK | cmyk(2.2%, 0%, 71.8%, 29%) |
| CIE-LAB | lab(71.31, -17.07, 61.81) |
| CIE-LCH | lch(71.31, 64.13, 105.44°) |
| OKLab | oklab(74.68% -0.0532 0.1369) |
| OKLCH | oklch(74.68% 0.147 111.2) |
| XYZ | xyz(35.2540, 42.6348, 9.5036) |
| Luminance | 0.4263 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.93
Snot
#ACBB0D
ΔE00 3.36
Puke Green
#9AAE07
ΔE00 4.69
Puke Yellow
#C2BE0E
ΔE00 4.76
Bile
#B5C306
ΔE00 4.80
Puke
#A5A502
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B533 #3733B5
analogous
#B57833 #B1B533 #70B533
triadic
#B1B533 #33B1B5 #B533B1
tetradic
#B1B533 #33B578 #3733B5 #B53370
square
#B1B533 #33B578 #3733B5 #B53370
split-complementary
#B1B533 #3370B5 #7833B5
monochromatic
#545618 #828526 #B1B533 #CCCF56 #DADD86
Accessibility & contrast
On white
2.20
#B1B533 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#B1B533 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B533
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B533 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B533 | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD1B
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#BDAA9C
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b1b533; /* rgb */ color: rgb(177, 181, 51); /* oklch */ color: oklch(74.7% 0.147 111.2);
Tailwind
colors: {
custom: {
50: '#ccca74',
500: '#b1b533',
950: '#000000',
},
}SCSS
$custom: #b1b533; $custom-light: #ccca74; $custom-dark: #000000;
JSON
{
"hex": "#b1b533",
"rgb": {
"r": 177,
"g": 181,
"b": 51
},
"hsl": {
"h": 61.846,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.74678,
"c": 0.14687,
"h": 111.2
},
"luminance": 0.42634
}Semantic roles & 50–950 ramp
primary
#B1B533
secondary
#807DC6
accent
#48DF4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B