#B1B528#B1B528
#B1B528 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.153 H 111.3°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B528 |
|---|---|
| RGB | rgb(177, 181, 40) |
| HSL | hsl(62, 64%, 43%) |
| HSV | hsv(62, 78%, 71%) |
| CMYK | cmyk(2.2%, 0%, 77.9%, 29%) |
| CIE-LAB | lab(71.25, -17.55, 65.37) |
| CIE-LCH | lch(71.25, 67.69, 105.03°) |
| OKLab | oklab(74.61% -0.0555 0.1425) |
| OKLCH | oklch(74.61% 0.153 111.3) |
| XYZ | xyz(35.0396, 42.5490, 8.3741) |
| Luminance | 0.4255 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.35
Snot
#ACBB0D
ΔE00 2.88
Puke Yellow
#C2BE0E
ΔE00 4.16
Bile
#B5C306
ΔE00 4.32
Baby Puke Green
#B6C406
ΔE00 4.54
Puke Green
#9AAE07
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B528 #2C28B5
analogous
#B57228 #B1B528 #6AB528
triadic
#B1B528 #28B1B5 #B528B1
tetradic
#B1B528 #28B572 #2C28B5 #B5286A
square
#B1B528 #28B572 #2C28B5 #B5286A
split-complementary
#B1B528 #286AB5 #7228B5
monochromatic
#4F5112 #80831D #B1B528 #D2D644 #DEE177
Accessibility & contrast
On white
2.21
#B1B528 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#B1B528 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B528
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B528 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B528 | 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)
#C4AD00
Deuteranopia (green-blind)
#C4B035
Tritanopia (blue-blind)
#BEA99B
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b1b528; /* rgb */ color: rgb(177, 181, 40); /* oklch */ color: oklch(74.6% 0.153 111.3);
Tailwind
colors: {
custom: {
50: '#ccca6f',
500: '#b1b528',
950: '#000000',
},
}SCSS
$custom: #b1b528; $custom-light: #ccca6f; $custom-dark: #000000;
JSON
{
"hex": "#b1b528",
"rgb": {
"r": 177,
"g": 181,
"b": 40
},
"hsl": {
"h": 61.702,
"s": 63.801,
"l": 43.333
},
"oklch": {
"l": 0.74612,
"c": 0.15289,
"h": 111.3
},
"luminance": 0.42548
}Semantic roles & 50–950 ramp
primary
#B1B528
secondary
#7370C8
accent
#41E746
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B