#B1AA2B#B1AA2B
#B1AA2B is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.2% C 0.141 H 106.2°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AA2B |
|---|---|
| RGB | rgb(177, 170, 43) |
| HSL | hsl(57, 61%, 43%) |
| HSV | hsv(57, 76%, 69%) |
| CMYK | cmyk(0%, 4%, 75.7%, 30.6%) |
| CIE-LAB | lab(68.22, -11.80, 61.66) |
| CIE-LCH | lch(68.22, 62.78, 100.83°) |
| OKLab | oklab(72.2% -0.0392 0.1351) |
| OKLCH | oklch(72.2% 0.141 106.2) |
| XYZ | xyz(32.9436, 38.2722, 7.9370) |
| Luminance | 0.3827 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.00
Vomit
#A2A415
ΔE00 3.31
Muddy Yellow
#BFAC05
ΔE00 4.24
Olive Yellow
#C2B709
ΔE00 4.90
Mustard Green
#A8B504
ΔE00 5.48
Puke Yellow
#C2BE0E
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AA2B #2B32B1
analogous
#B1672B #B1AA2B #75B12B
triadic
#B1AA2B #2BB1AA #AA2BB1
tetradic
#B1AA2B #2BB167 #2B32B1 #B12B75
square
#B1AA2B #2BB167 #2B32B1 #B12B75
split-complementary
#B1AA2B #2B75B1 #672BB1
monochromatic
#4F4B13 #807B1F #B1AA2B #D2CB47 #DED978
Accessibility & contrast
On white
2.43
#B1AA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.65
#B1AA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AA2B
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AA2B | 1.00 | 2.43 | 8.65 | 8.65 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A40E
Deuteranopia (green-blind)
#BCA935
Tritanopia (blue-blind)
#BE9E92
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b1aa2b; /* rgb */ color: rgb(177, 170, 43); /* oklch */ color: oklch(72.2% 0.141 106.2);
Tailwind
colors: {
custom: {
50: '#ccc36f',
500: '#b1aa2b',
950: '#000000',
},
}SCSS
$custom: #b1aa2b; $custom-light: #ccc36f; $custom-dark: #000000;
JSON
{
"hex": "#b1aa2b",
"rgb": {
"r": 177,
"g": 170,
"b": 43
},
"hsl": {
"h": 56.866,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.722,
"c": 0.14069,
"h": 106.2
},
"luminance": 0.38271
}Semantic roles & 50–950 ramp
primary
#B1AA2B
secondary
#7276C6
accent
#4CE444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B