#B1B225#B1B225
#B1B225 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.9% C 0.151 H 110.0°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B225 |
|---|---|
| RGB | rgb(177, 178, 37) |
| HSL | hsl(60, 66%, 42%) |
| HSV | hsv(60, 79%, 70%) |
| CMYK | cmyk(0.6%, 0%, 79.2%, 30.2%) |
| CIE-LAB | lab(70.40, -16.14, 65.50) |
| CIE-LCH | lch(70.40, 67.46, 103.84°) |
| OKLab | oklab(73.93% -0.0518 0.1422) |
| OKLCH | oklch(73.93% 0.151 110) |
| XYZ | xyz(34.3871, 41.3225, 7.9146) |
| Luminance | 0.4132 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.90
Snot
#ACBB0D
ΔE00 3.73
Puke
#A5A502
ΔE00 3.83
Vomit
#A2A415
ΔE00 4.15
Olive Yellow
#C2B709
ΔE00 4.21
Puke Yellow
#C2BE0E
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B225 #2625B2
analogous
#B26D25 #B1B225 #6AB225
triadic
#B1B225 #25B1B2 #B225B1
tetradic
#B1B225 #25B26D #2625B2 #B2256A
square
#B1B225 #25B26D #2625B2 #B2256A
split-complementary
#B1B225 #256AB2 #6D25B2
monochromatic
#4C4D10 #7F7F1A #B1B225 #D6D73D #E0E170
Accessibility & contrast
On white
2.27
#B1B225 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#B1B225 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B225
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B225 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B225 | 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)
#C2AE32
Tritanopia (blue-blind)
#BEA698
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b1b225; /* rgb */ color: rgb(177, 178, 37); /* oklch */ color: oklch(73.9% 0.151 110.0);
Tailwind
colors: {
custom: {
50: '#ccc86d',
500: '#b1b225',
950: '#000000',
},
}SCSS
$custom: #b1b225; $custom-light: #ccc86d; $custom-dark: #000000;
JSON
{
"hex": "#b1b225",
"rgb": {
"r": 177,
"g": 178,
"b": 37
},
"hsl": {
"h": 60.426,
"s": 65.581,
"l": 42.157
},
"oklch": {
"l": 0.73931,
"c": 0.15135,
"h": 110
},
"luminance": 0.41321
}Semantic roles & 50–950 ramp
primary
#B1B225
secondary
#6B6BC8
accent
#3FE940
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A