#B1B534#B1B534
#B1B534 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.7% C 0.146 H 111.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B534 |
|---|---|
| RGB | rgb(177, 181, 52) |
| HSL | hsl(62, 55%, 46%) |
| HSV | hsv(62, 71%, 71%) |
| CMYK | cmyk(2.2%, 0%, 71.3%, 29%) |
| CIE-LAB | lab(71.31, -17.02, 61.46) |
| CIE-LCH | lch(71.31, 63.77, 105.48°) |
| OKLab | oklab(74.69% -0.053 0.1363) |
| OKLCH | oklch(74.69% 0.146 111.2) |
| XYZ | xyz(35.2763, 42.6437, 9.6209) |
| Luminance | 0.4264 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.00
Snot
#ACBB0D
ΔE00 3.42
Puke Green
#9AAE07
ΔE00 4.71
Puke Yellow
#C2BE0E
ΔE00 4.82
Bile
#B5C306
ΔE00 4.85
Puke
#A5A502
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B534 #3834B5
analogous
#B57834 #B1B534 #71B534
triadic
#B1B534 #34B1B5 #B534B1
tetradic
#B1B534 #34B578 #3834B5 #B53471
square
#B1B534 #34B578 #3834B5 #B53471
split-complementary
#B1B534 #3471B5 #7834B5
monochromatic
#545619 #838526 #B1B534 #CBCF57 #DADC87
Accessibility & contrast
On white
2.20
#B1B534 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#B1B534 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B534
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B534 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B534 | 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)
#C3AD1D
Deuteranopia (green-blind)
#C4B03E
Tritanopia (blue-blind)
#BDAA9C
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b1b534; /* rgb */ color: rgb(177, 181, 52); /* oklch */ color: oklch(74.7% 0.146 111.2);
Tailwind
colors: {
custom: {
50: '#cccb74',
500: '#b1b534',
950: '#000000',
},
}SCSS
$custom: #b1b534; $custom-light: #cccb74; $custom-dark: #000000;
JSON
{
"hex": "#b1b534",
"rgb": {
"r": 177,
"g": 181,
"b": 52
},
"hsl": {
"h": 61.86,
"s": 55.365,
"l": 45.686
},
"oklch": {
"l": 0.74685,
"c": 0.14625,
"h": 111.2
},
"luminance": 0.42643
}Semantic roles & 50–950 ramp
primary
#B1B534
secondary
#817FC6
accent
#49DF4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B