#B1AA37#B1AA37
#B1AA37 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.3% C 0.133 H 105.8°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AA37 |
|---|---|
| RGB | rgb(177, 170, 55) |
| HSL | hsl(57, 53%, 45%) |
| HSV | hsv(57, 69%, 69%) |
| CMYK | cmyk(0%, 4%, 68.9%, 30.6%) |
| CIE-LAB | lab(68.30, -11.22, 57.35) |
| CIE-LCH | lch(68.30, 58.43, 101.07°) |
| OKLab | oklab(72.28% -0.0364 0.1282) |
| OKLCH | oklch(72.28% 0.133 105.8) |
| XYZ | xyz(33.1971, 38.3736, 9.2719) |
| Luminance | 0.3837 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.76
Puke
#A5A502
ΔE00 3.77
Muddy Yellow
#BFAC05
ΔE00 5.01
Olive Yellow
#C2B709
ΔE00 5.65
Mustard Green
#A8B504
ΔE00 5.99
Puke Green
#9AAE07
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AA37 #373EB1
analogous
#B16D37 #B1AA37 #7BB137
triadic
#B1AA37 #37B1AA #AA37B1
tetradic
#B1AA37 #37B16D #373EB1 #B1377B
square
#B1AA37 #37B16D #373EB1 #B1377B
split-complementary
#B1AA37 #377BB1 #6D37B1
monochromatic
#54501A #827D28 #B1AA37 #CCC55A #DAD588
Accessibility & contrast
On white
2.42
#B1AA37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.67
#B1AA37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AA37
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AA37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AA37 | 1.00 | 2.42 | 8.67 | 8.67 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A426
Deuteranopia (green-blind)
#BBA93F
Tritanopia (blue-blind)
#BE9F93
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b1aa37; /* rgb */ color: rgb(177, 170, 55); /* oklch */ color: oklch(72.3% 0.133 105.8);
Tailwind
colors: {
custom: {
50: '#ccc375',
500: '#b1aa37',
950: '#000000',
},
}SCSS
$custom: #b1aa37; $custom-light: #ccc375; $custom-dark: #000000;
JSON
{
"hex": "#b1aa37",
"rgb": {
"r": 177,
"g": 170,
"b": 55
},
"hsl": {
"h": 56.557,
"s": 52.586,
"l": 45.49
},
"oklch": {
"l": 0.72283,
"c": 0.13323,
"h": 105.8
},
"luminance": 0.38372
}Semantic roles & 50–950 ramp
primary
#B1AA37
secondary
#8084C4
accent
#54DC4C
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B