#B1B02F#B1B02F
#B1B02F is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.5% C 0.144 H 109.0°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B02F |
|---|---|
| RGB | rgb(177, 176, 47) |
| HSL | hsl(60, 58%, 44%) |
| HSV | hsv(60, 73%, 69%) |
| CMYK | cmyk(0%, 0.6%, 73.4%, 30.6%) |
| CIE-LAB | lab(69.90, -14.72, 61.87) |
| CIE-LCH | lch(69.90, 63.60, 103.38°) |
| OKLab | oklab(73.55% -0.047 0.1363) |
| OKLCH | oklch(73.55% 0.144 109) |
| XYZ | xyz(34.1712, 40.6041, 8.7261) |
| Luminance | 0.4060 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.69
Mustard Green
#A8B504
ΔE00 3.77
Vomit
#A2A415
ΔE00 3.84
Snot
#ACBB0D
ΔE00 4.64
Olive Yellow
#C2B709
ΔE00 4.65
Puke Yellow
#C2BE0E
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B02F #2F30B1
analogous
#B16F2F #B1B02F #71B12F
triadic
#B1B02F #2FB1B0 #B02FB1
tetradic
#B1B02F #2FB16F #2F30B1 #B12F71
square
#B1B02F #2FB16F #2F30B1 #B12F71
split-complementary
#B1B02F #2F71B1 #6F2FB1
monochromatic
#505015 #818022 #B1B02F #D0CF4D #DDDC7E
Accessibility & contrast
On white
2.30
#B1B02F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#B1B02F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B02F
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B02F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B02F | 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)
#BFA915
Deuteranopia (green-blind)
#C0AD39
Tritanopia (blue-blind)
#BEA597
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b1b02f; /* rgb */ color: rgb(177, 176, 47); /* oklch */ color: oklch(73.5% 0.144 109.0);
Tailwind
colors: {
custom: {
50: '#ccc771',
500: '#b1b02f',
950: '#000000',
},
}SCSS
$custom: #b1b02f; $custom-light: #ccc771; $custom-dark: #000000;
JSON
{
"hex": "#b1b02f",
"rgb": {
"r": 177,
"g": 176,
"b": 47
},
"hsl": {
"h": 59.538,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.73545,
"c": 0.14418,
"h": 109
},
"luminance": 0.40603
}Semantic roles & 50–950 ramp
primary
#B1B02F
secondary
#7677C5
accent
#48E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B