#B1B02E#B1B02E
#B1B02E is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.5% C 0.145 H 109.0°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B02E |
|---|---|
| RGB | rgb(177, 176, 46) |
| HSL | hsl(60, 59%, 44%) |
| HSV | hsv(60, 74%, 69%) |
| CMYK | cmyk(0%, 0.6%, 74%, 30.6%) |
| CIE-LAB | lab(69.89, -14.76, 62.21) |
| CIE-LCH | lch(69.89, 63.94, 103.35°) |
| OKLab | oklab(73.54% -0.0472 0.1368) |
| OKLCH | oklch(73.54% 0.145 109) |
| XYZ | xyz(34.1512, 40.5961, 8.6211) |
| Luminance | 0.4059 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.65
Mustard Green
#A8B504
ΔE00 3.73
Vomit
#A2A415
ΔE00 3.82
Olive Yellow
#C2B709
ΔE00 4.59
Snot
#ACBB0D
ΔE00 4.60
Puke Yellow
#C2BE0E
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B02E #2E2FB1
analogous
#B16E2E #B1B02E #70B12E
triadic
#B1B02E #2EB1B0 #B02EB1
tetradic
#B1B02E #2EB16E #2E2FB1 #B12E70
square
#B1B02E #2EB16E #2E2FB1 #B12E70
split-complementary
#B1B02E #2E70B1 #6E2EB1
monochromatic
#504F15 #808021 #B1B02E #D0CF4C #DDDC7C
Accessibility & contrast
On white
2.30
#B1B02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#B1B02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B02E
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B02E | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#C0AD38
Tritanopia (blue-blind)
#BEA497
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b1b02e; /* rgb */ color: rgb(177, 176, 46); /* oklch */ color: oklch(73.5% 0.145 109.0);
Tailwind
colors: {
custom: {
50: '#ccc771',
500: '#b1b02e',
950: '#000000',
},
}SCSS
$custom: #b1b02e; $custom-light: #ccc771; $custom-dark: #000000;
JSON
{
"hex": "#b1b02e",
"rgb": {
"r": 177,
"g": 176,
"b": 46
},
"hsl": {
"h": 59.542,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.73538,
"c": 0.14476,
"h": 109
},
"luminance": 0.40595
}Semantic roles & 50–950 ramp
primary
#B1B02E
secondary
#7576C6
accent
#47E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B