#B1B52D#B1B52D
#B1B52D is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.6% C 0.150 H 111.3°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B52D |
|---|---|
| RGB | rgb(177, 181, 45) |
| HSL | hsl(62, 60%, 44%) |
| HSV | hsv(62, 75%, 71%) |
| CMYK | cmyk(2.2%, 0%, 75.1%, 29%) |
| CIE-LAB | lab(71.27, -17.35, 63.83) |
| CIE-LCH | lch(71.27, 66.15, 105.21°) |
| OKLab | oklab(74.64% -0.0545 0.1401) |
| OKLCH | oklch(74.64% 0.15 111.3) |
| XYZ | xyz(35.1302, 42.5853, 8.8513) |
| Luminance | 0.4258 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.57
Snot
#ACBB0D
ΔE00 3.06
Puke Yellow
#C2BE0E
ΔE00 4.41
Bile
#B5C306
ΔE00 4.51
Puke Green
#9AAE07
ΔE00 4.58
Baby Puke Green
#B6C406
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B52D #312DB5
analogous
#B5752D #B1B52D #6DB52D
triadic
#B1B52D #2DB1B5 #B52DB1
tetradic
#B1B52D #2DB575 #312DB5 #B52D6D
square
#B1B52D #2DB575 #312DB5 #B52D6D
split-complementary
#B1B52D #2D6DB5 #752DB5
monochromatic
#515315 #818421 #B1B52D #CFD34D #DCDF7E
Accessibility & contrast
On white
2.21
#B1B52D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#B1B52D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B52D
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B52D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B52D | 1.00 | 2.21 | 9.52 | 9.52 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD0C
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#BDAA9B
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b1b52d; /* rgb */ color: rgb(177, 181, 45); /* oklch */ color: oklch(74.6% 0.150 111.3);
Tailwind
colors: {
custom: {
50: '#ccca71',
500: '#b1b52d',
950: '#000000',
},
}SCSS
$custom: #b1b52d; $custom-light: #ccca71; $custom-dark: #000000;
JSON
{
"hex": "#b1b52d",
"rgb": {
"r": 177,
"g": 181,
"b": 45
},
"hsl": {
"h": 61.765,
"s": 60.177,
"l": 44.314
},
"oklch": {
"l": 0.7464,
"c": 0.15033,
"h": 111.3
},
"luminance": 0.42584
}Semantic roles & 50–950 ramp
primary
#B1B52D
secondary
#7976C7
accent
#44E349
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B