#B1B128#B1B128
#B1B128 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.7% C 0.149 H 109.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B128 |
|---|---|
| RGB | rgb(177, 177, 40) |
| HSL | hsl(60, 63%, 43%) |
| HSV | hsv(60, 77%, 69%) |
| CMYK | cmyk(0%, 0%, 77.4%, 30.6%) |
| CIE-LAB | lab(70.14, -15.52, 64.38) |
| CIE-LCH | lch(70.14, 66.22, 103.56°) |
| OKLab | oklab(73.72% -0.0498 0.1403) |
| OKLCH | oklch(73.72% 0.149 109.6) |
| XYZ | xyz(34.2379, 40.9456, 8.1068) |
| Luminance | 0.4094 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.24
Puke
#A5A502
ΔE00 3.66
Vomit
#A2A415
ΔE00 3.95
Snot
#ACBB0D
ΔE00 4.11
Olive Yellow
#C2B709
ΔE00 4.30
Puke Yellow
#C2BE0E
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B128 #2828B1
analogous
#B16C28 #B1B128 #6CB128
triadic
#B1B128 #28B1B1 #B128B1
tetradic
#B1B128 #28B16C #2828B1 #B1286C
square
#B1B128 #28B16C #2828B1 #B1286C
split-complementary
#B1B128 #286CB1 #6C28B1
monochromatic
#4D4D11 #7F7F1D #B1B128 #D4D442 #E0E074
Accessibility & contrast
On white
2.29
#B1B128 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#B1B128 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B128
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B128 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B128 | 1.00 | 2.29 | 9.19 | 9.19 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#BEA598
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b1b128; /* rgb */ color: rgb(177, 177, 40); /* oklch */ color: oklch(73.7% 0.149 109.6);
Tailwind
colors: {
custom: {
50: '#ccc86e',
500: '#b1b128',
950: '#000000',
},
}SCSS
$custom: #b1b128; $custom-light: #ccc86e; $custom-dark: #000000;
JSON
{
"hex": "#b1b128",
"rgb": {
"r": 177,
"g": 177,
"b": 40
},
"hsl": {
"h": 60,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.73725,
"c": 0.14893,
"h": 109.6
},
"luminance": 0.40945
}Semantic roles & 50–950 ramp
primary
#B1B128
secondary
#6E6EC7
accent
#42E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B