#B1AA24#B1AA24
#B1AA24 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.2% C 0.144 H 106.3°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AA24 |
|---|---|
| RGB | rgb(177, 170, 36) |
| HSL | hsl(57, 66%, 42%) |
| HSV | hsv(57, 80%, 69%) |
| CMYK | cmyk(0%, 4%, 79.7%, 30.6%) |
| CIE-LAB | lab(68.19, -12.07, 63.83) |
| CIE-LCH | lch(68.19, 64.96, 100.71°) |
| OKLab | oklab(72.16% -0.0405 0.1384) |
| OKLCH | oklch(72.16% 0.144 106.3) |
| XYZ | xyz(32.8260, 38.2252, 7.3178) |
| Luminance | 0.3822 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.74
Vomit
#A2A415
ΔE00 3.24
Muddy Yellow
#BFAC05
ΔE00 3.93
Olive Yellow
#C2B709
ΔE00 4.59
Mustard Green
#A8B504
ΔE00 5.32
Puke Yellow
#C2BE0E
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AA24 #242BB1
analogous
#B16424 #B1AA24 #72B124
triadic
#B1AA24 #24B1AA #AA24B1
tetradic
#B1AA24 #24B164 #242BB1 #B12472
square
#B1AA24 #24B164 #242BB1 #B12472
split-complementary
#B1AA24 #2472B1 #6424B1
monochromatic
#4B480F #7E791A #B1AA24 #D7CF3B #E1DC6E
Accessibility & contrast
On white
2.43
#B1AA24 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.64
#B1AA24 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AA24
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AA24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AA24 | 1.00 | 2.43 | 8.64 | 8.64 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#BCA930
Tritanopia (blue-blind)
#BF9E92
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b1aa24; /* rgb */ color: rgb(177, 170, 36); /* oklch */ color: oklch(72.2% 0.144 106.3);
Tailwind
colors: {
custom: {
50: '#ccc26c',
500: '#b1aa24',
950: '#000000',
},
}SCSS
$custom: #b1aa24; $custom-light: #ccc26c; $custom-dark: #000000;
JSON
{
"hex": "#b1aa24",
"rgb": {
"r": 177,
"g": 170,
"b": 36
},
"hsl": {
"h": 57.021,
"s": 66.197,
"l": 41.765
},
"oklch": {
"l": 0.72161,
"c": 0.14425,
"h": 106.3
},
"luminance": 0.38224
}Semantic roles & 50–950 ramp
primary
#B1AA24
secondary
#696EC8
accent
#47E93F
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A