#B1B131#B1B131
#B1B131 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.8% C 0.144 H 109.5°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B131 |
|---|---|
| RGB | rgb(177, 177, 49) |
| HSL | hsl(60, 57%, 44%) |
| HSV | hsv(60, 72%, 69%) |
| CMYK | cmyk(0%, 0%, 72.3%, 30.6%) |
| CIE-LAB | lab(70.19, -15.14, 61.45) |
| CIE-LCH | lch(70.19, 63.28, 103.84°) |
| OKLab | oklab(73.78% -0.048 0.1358) |
| OKLCH | oklch(73.78% 0.144 109.5) |
| XYZ | xyz(34.4092, 41.0142, 9.0091) |
| Luminance | 0.4101 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.61
Puke
#A5A502
ΔE00 3.97
Vomit
#A2A415
ΔE00 4.06
Snot
#ACBB0D
ΔE00 4.41
Olive Yellow
#C2B709
ΔE00 4.78
Puke Yellow
#C2BE0E
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B131 #3131B1
analogous
#B17131 #B1B131 #71B131
triadic
#B1B131 #31B1B1 #B131B1
tetradic
#B1B131 #31B171 #3131B1 #B13171
square
#B1B131 #31B171 #3131B1 #B13171
split-complementary
#B1B131 #3171B1 #7131B1
monochromatic
#515116 #818124 #B1B131 #CFCF51 #DCDC80
Accessibility & contrast
On white
2.28
#B1B131 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#B1B131 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B131
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B131 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B131 | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA919
Deuteranopia (green-blind)
#C1AD3B
Tritanopia (blue-blind)
#BEA698
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b1b131; /* rgb */ color: rgb(177, 177, 49); /* oklch */ color: oklch(73.8% 0.144 109.5);
Tailwind
colors: {
custom: {
50: '#ccc872',
500: '#b1b131',
950: '#000000',
},
}SCSS
$custom: #b1b131; $custom-light: #ccc872; $custom-dark: #000000;
JSON
{
"hex": "#b1b131",
"rgb": {
"r": 177,
"g": 177,
"b": 49
},
"hsl": {
"h": 60,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.73778,
"c": 0.144,
"h": 109.5
},
"luminance": 0.41013
}Semantic roles & 50–950 ramp
primary
#B1B131
secondary
#7979C5
accent
#48E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B