#B1AB24#B1AB24
#B1AB24 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.4% C 0.145 H 106.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AB24 |
|---|---|
| RGB | rgb(177, 171, 36) |
| HSL | hsl(57, 66%, 42%) |
| HSV | hsv(57, 80%, 69%) |
| CMYK | cmyk(0%, 3.4%, 79.7%, 30.6%) |
| CIE-LAB | lab(68.46, -12.59, 64.08) |
| CIE-LCH | lch(68.46, 65.30, 101.11°) |
| OKLab | oklab(72.38% -0.042 0.139) |
| OKLCH | oklch(72.38% 0.145 106.8) |
| XYZ | xyz(33.0142, 38.6015, 7.3805) |
| Luminance | 0.3860 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.75
Vomit
#A2A415
ΔE00 3.24
Muddy Yellow
#BFAC05
ΔE00 4.07
Olive Yellow
#C2B709
ΔE00 4.44
Mustard Green
#A8B504
ΔE00 4.98
Puke Yellow
#C2BE0E
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AB24 #242AB1
analogous
#B16524 #B1AB24 #71B124
triadic
#B1AB24 #24B1AB #AB24B1
tetradic
#B1AB24 #24B165 #242AB1 #B12471
square
#B1AB24 #24B165 #242AB1 #B12471
split-complementary
#B1AB24 #2471B1 #6524B1
monochromatic
#4B490F #7E7A1A #B1AB24 #D7D13B #E1DD6E
Accessibility & contrast
On white
2.41
#B1AB24 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#B1AB24 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AB24
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AB24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AB24 | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BDA930
Tritanopia (blue-blind)
#BE9F92
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b1ab24; /* rgb */ color: rgb(177, 171, 36); /* oklch */ color: oklch(72.4% 0.145 106.8);
Tailwind
colors: {
custom: {
50: '#ccc36c',
500: '#b1ab24',
950: '#000000',
},
}SCSS
$custom: #b1ab24; $custom-light: #ccc36c; $custom-dark: #000000;
JSON
{
"hex": "#b1ab24",
"rgb": {
"r": 177,
"g": 171,
"b": 36
},
"hsl": {
"h": 57.447,
"s": 66.197,
"l": 41.765
},
"oklch": {
"l": 0.72381,
"c": 0.14517,
"h": 106.8
},
"luminance": 0.386
}Semantic roles & 50–950 ramp
primary
#B1AB24
secondary
#696DC8
accent
#46E93F
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A