#B1B52A#B1B52A
#B1B52A is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.6% C 0.152 H 111.3°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B52A |
|---|---|
| RGB | rgb(177, 181, 42) |
| HSL | hsl(62, 62%, 44%) |
| HSV | hsv(62, 77%, 71%) |
| CMYK | cmyk(2.2%, 0%, 76.8%, 29%) |
| CIE-LAB | lab(71.26, -17.47, 64.77) |
| CIE-LCH | lch(71.26, 67.09, 105.10°) |
| OKLab | oklab(74.62% -0.0551 0.1416) |
| OKLCH | oklch(74.62% 0.152 111.3) |
| XYZ | xyz(35.0745, 42.5630, 8.5579) |
| Luminance | 0.4256 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.43
Snot
#ACBB0D
ΔE00 2.94
Puke Yellow
#C2BE0E
ΔE00 4.25
Bile
#B5C306
ΔE00 4.39
Puke Green
#9AAE07
ΔE00 4.56
Baby Puke Green
#B6C406
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B52A #2E2AB5
analogous
#B5732A #B1B52A #6BB52A
triadic
#B1B52A #2AB1B5 #B52AB1
tetradic
#B1B52A #2AB573 #2E2AB5 #B52A6B
square
#B1B52A #2AB573 #2E2AB5 #B52A6B
split-complementary
#B1B52A #2A6BB5 #732AB5
monochromatic
#505213 #80831E #B1B52A #D0D448 #DDE079
Accessibility & contrast
On white
2.21
#B1B52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#B1B52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B52A
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B52A | 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)
#C3AD01
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#BEA99B
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b1b52a; /* rgb */ color: rgb(177, 181, 42); /* oklch */ color: oklch(74.6% 0.152 111.3);
Tailwind
colors: {
custom: {
50: '#ccca70',
500: '#b1b52a',
950: '#000000',
},
}SCSS
$custom: #b1b52a; $custom-light: #ccca70; $custom-dark: #000000;
JSON
{
"hex": "#b1b52a",
"rgb": {
"r": 177,
"g": 181,
"b": 42
},
"hsl": {
"h": 61.727,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.74623,
"c": 0.15191,
"h": 111.3
},
"luminance": 0.42562
}Semantic roles & 50–950 ramp
primary
#B1B52A
secondary
#7573C8
accent
#42E547
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B