#B1B52E#B1B52E
#B1B52E 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 | #B1B52E |
|---|---|
| RGB | rgb(177, 181, 46) |
| HSL | hsl(62, 59%, 45%) |
| HSV | hsv(62, 75%, 71%) |
| CMYK | cmyk(2.2%, 0%, 74.6%, 29%) |
| CIE-LAB | lab(71.28, -17.31, 63.51) |
| CIE-LCH | lch(71.28, 65.82, 105.24°) |
| OKLab | oklab(74.65% -0.0543 0.1396) |
| OKLCH | oklch(74.65% 0.15 111.3) |
| XYZ | xyz(35.1497, 42.5930, 8.9539) |
| Luminance | 0.4259 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.62
Snot
#ACBB0D
ΔE00 3.10
Puke Yellow
#C2BE0E
ΔE00 4.46
Bile
#B5C306
ΔE00 4.55
Puke Green
#9AAE07
ΔE00 4.60
Baby Puke Green
#B6C406
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B52E #322EB5
analogous
#B5762E #B1B52E #6EB52E
triadic
#B1B52E #2EB1B5 #B52EB1
tetradic
#B1B52E #2EB576 #322EB5 #B52E6E
square
#B1B52E #2EB576 #322EB5 #B52E6E
split-complementary
#B1B52E #2E6EB5 #762EB5
monochromatic
#525315 #818422 #B1B52E #CED24E #DCDE7F
Accessibility & contrast
On white
2.21
#B1B52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#B1B52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B52E
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B52E | 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)
#C3AD0F
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#BDAA9B
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b1b52e; /* rgb */ color: rgb(177, 181, 46); /* oklch */ color: oklch(74.6% 0.150 111.3);
Tailwind
colors: {
custom: {
50: '#ccca71',
500: '#b1b52e',
950: '#000000',
},
}SCSS
$custom: #b1b52e; $custom-light: #ccca71; $custom-dark: #000000;
JSON
{
"hex": "#b1b52e",
"rgb": {
"r": 177,
"g": 181,
"b": 46
},
"hsl": {
"h": 61.778,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.74646,
"c": 0.14978,
"h": 111.3
},
"luminance": 0.42592
}Semantic roles & 50–950 ramp
primary
#B1B52E
secondary
#7A78C7
accent
#45E34A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B