#B1AA20#B1AA20
#B1AA20 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.1% C 0.146 H 106.4°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AA20 |
|---|---|
| RGB | rgb(177, 170, 32) |
| HSL | hsl(57, 69%, 41%) |
| HSV | hsv(57, 82%, 69%) |
| CMYK | cmyk(0%, 4%, 81.9%, 30.6%) |
| CIE-LAB | lab(68.17, -12.20, 64.95) |
| CIE-LCH | lch(68.17, 66.08, 100.64°) |
| OKLab | oklab(72.14% -0.0412 0.1401) |
| OKLCH | oklch(72.14% 0.146 106.4) |
| XYZ | xyz(32.7683, 38.2021, 7.0139) |
| Luminance | 0.3820 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.66
Vomit
#A2A415
ΔE00 3.25
Muddy Yellow
#BFAC05
ΔE00 3.79
Olive Yellow
#C2B709
ΔE00 4.45
Mustard Green
#A8B504
ΔE00 5.26
Puke Yellow
#C2BE0E
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AA20 #2027B1
analogous
#B16120 #B1AA20 #70B120
triadic
#B1AA20 #20B1AA #AA20B1
tetradic
#B1AA20 #20B161 #2027B1 #B12070
square
#B1AA20 #20B161 #2027B1 #B12070
split-complementary
#B1AA20 #2070B1 #6120B1
monochromatic
#49460D #7D7817 #B1AA20 #DAD234 #E4DE68
Accessibility & contrast
On white
2.43
#B1AA20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.64
#B1AA20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AA20
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AA20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AA20 | 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)
#BCA82D
Tritanopia (blue-blind)
#BF9E91
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b1aa20; /* rgb */ color: rgb(177, 170, 32); /* oklch */ color: oklch(72.1% 0.146 106.4);
Tailwind
colors: {
custom: {
50: '#ccc26a',
500: '#b1aa20',
950: '#000000',
},
}SCSS
$custom: #b1aa20; $custom-light: #ccc26a; $custom-dark: #000000;
JSON
{
"hex": "#b1aa20",
"rgb": {
"r": 177,
"g": 170,
"b": 32
},
"hsl": {
"h": 57.103,
"s": 69.378,
"l": 40.98
},
"oklch": {
"l": 0.72142,
"c": 0.14602,
"h": 106.4
},
"luminance": 0.38201
}Semantic roles & 50–950 ramp
primary
#B1AA20
secondary
#6469C9
accent
#44EC3C
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A