#B1AA46#B1AA46
#B1AA46 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.4% C 0.122 H 105.3°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AA46 |
|---|---|
| RGB | rgb(177, 170, 70) |
| HSL | hsl(56, 43%, 48%) |
| HSV | hsv(56, 60%, 69%) |
| CMYK | cmyk(0%, 4%, 60.5%, 30.6%) |
| CIE-LAB | lab(68.42, -10.28, 51.11) |
| CIE-LCH | lch(68.42, 52.14, 101.37°) |
| OKLab | oklab(72.42% -0.0321 0.1173) |
| OKLCH | oklch(72.42% 0.122 105.3) |
| XYZ | xyz(33.6128, 38.5399, 11.4615) |
| Luminance | 0.3854 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.96
Puke
#A5A502
ΔE00 5.26
Khaki (survey)
#AAA662
ΔE00 5.39
Darkkhaki
#BDB76B
ΔE00 5.45
Muddy Yellow
#BFAC05
ΔE00 6.40
Olive Yellow
#C2B709
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AA46 #464DB1
analogous
#B17446 #B1AA46 #82B146
triadic
#B1AA46 #46B1AA #AA46B1
tetradic
#B1AA46 #46B174 #464DB1 #B14682
square
#B1AA46 #46B174 #464DB1 #B14682
split-complementary
#B1AA46 #4682B1 #7446B1
monochromatic
#595623 #858035 #B1AA46 #C6C06E #D7D39A
Accessibility & contrast
On white
2.41
#B1AA46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#B1AA46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AA46
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AA46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AA46 | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A43B
Deuteranopia (green-blind)
#BAA94C
Tritanopia (blue-blind)
#BD9F95
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b1aa46; /* rgb */ color: rgb(177, 170, 70); /* oklch */ color: oklch(72.4% 0.122 105.3);
Tailwind
colors: {
custom: {
50: '#cbc37e',
500: '#b1aa46',
950: '#000000',
},
}SCSS
$custom: #b1aa46; $custom-light: #cbc37e; $custom-dark: #000000;
JSON
{
"hex": "#b1aa46",
"rgb": {
"r": 177,
"g": 170,
"b": 70
},
"hsl": {
"h": 56.075,
"s": 43.32,
"l": 48.431
},
"oklch": {
"l": 0.72418,
"c": 0.12161,
"h": 105.3
},
"luminance": 0.38539
}Semantic roles & 50–950 ramp
primary
#B1AA46
secondary
#8F93C3
accent
#5DD355
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C