#B1B224#B1B224
#B1B224 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.9% C 0.152 H 110.0°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B224 |
|---|---|
| RGB | rgb(177, 178, 36) |
| HSL | hsl(60, 66%, 42%) |
| HSV | hsv(60, 80%, 70%) |
| CMYK | cmyk(0.6%, 0%, 79.8%, 30.2%) |
| CIE-LAB | lab(70.40, -16.18, 65.78) |
| CIE-LCH | lch(70.40, 67.74, 103.82°) |
| OKLab | oklab(73.93% -0.052 0.1426) |
| OKLCH | oklch(73.93% 0.152 110) |
| XYZ | xyz(34.3716, 41.3163, 7.8330) |
| Luminance | 0.4132 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.87
Snot
#ACBB0D
ΔE00 3.71
Puke
#A5A502
ΔE00 3.82
Vomit
#A2A415
ΔE00 4.15
Olive Yellow
#C2B709
ΔE00 4.18
Puke Yellow
#C2BE0E
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B224 #2524B2
analogous
#B26C24 #B1B224 #6AB224
triadic
#B1B224 #24B1B2 #B224B1
tetradic
#B1B224 #24B26C #2524B2 #B2246A
square
#B1B224 #24B26C #2524B2 #B2246A
split-complementary
#B1B224 #246AB2 #6C24B2
monochromatic
#4C4C0F #7E7F1A #B1B224 #D6D83C #E1E26F
Accessibility & contrast
On white
2.27
#B1B224 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#B1B224 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B224
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B224 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B224 | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C2AE31
Tritanopia (blue-blind)
#BEA698
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b1b224; /* rgb */ color: rgb(177, 178, 36); /* oklch */ color: oklch(73.9% 0.152 110.0);
Tailwind
colors: {
custom: {
50: '#ccc86d',
500: '#b1b224',
950: '#000000',
},
}SCSS
$custom: #b1b224; $custom-light: #ccc86d; $custom-dark: #000000;
JSON
{
"hex": "#b1b224",
"rgb": {
"r": 177,
"g": 178,
"b": 36
},
"hsl": {
"h": 60.423,
"s": 66.355,
"l": 41.961
},
"oklch": {
"l": 0.73926,
"c": 0.1518,
"h": 110
},
"luminance": 0.41315
}Semantic roles & 50–950 ramp
primary
#B1B224
secondary
#6A69C8
accent
#3FE940
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A