#B1AA2A#B1AA2A
#B1AA2A 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 | #B1AA2A |
|---|---|
| RGB | rgb(177, 170, 42) |
| HSL | hsl(57, 62%, 43%) |
| HSV | hsv(57, 76%, 69%) |
| CMYK | cmyk(0%, 4%, 76.3%, 30.6%) |
| CIE-LAB | lab(68.22, -11.84, 61.99) |
| CIE-LCH | lch(68.22, 63.11, 100.81°) |
| OKLab | oklab(72.19% -0.0394 0.1356) |
| OKLCH | oklch(72.19% 0.141 106.2) |
| XYZ | xyz(32.9255, 38.2650, 7.8416) |
| Luminance | 0.3826 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.96
Vomit
#A2A415
ΔE00 3.30
Muddy Yellow
#BFAC05
ΔE00 4.19
Olive Yellow
#C2B709
ΔE00 4.85
Mustard Green
#A8B504
ΔE00 5.45
Puke Yellow
#C2BE0E
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AA2A #2A31B1
analogous
#B1662A #B1AA2A #74B12A
triadic
#B1AA2A #2AB1AA #AA2AB1
tetradic
#B1AA2A #2AB166 #2A31B1 #B12A74
square
#B1AA2A #2AB166 #2A31B1 #B12A74
split-complementary
#B1AA2A #2A74B1 #662AB1
monochromatic
#4E4B13 #807A1E #B1AA2A #D3CC45 #DFD977
Accessibility & contrast
On white
2.43
#B1AA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.65
#B1AA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AA2A
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AA2A | 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)
#B9A30B
Deuteranopia (green-blind)
#BCA934
Tritanopia (blue-blind)
#BE9E92
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b1aa2a; /* rgb */ color: rgb(177, 170, 42); /* oklch */ color: oklch(72.2% 0.141 106.2);
Tailwind
colors: {
custom: {
50: '#ccc36e',
500: '#b1aa2a',
950: '#000000',
},
}SCSS
$custom: #b1aa2a; $custom-light: #ccc36e; $custom-dark: #000000;
JSON
{
"hex": "#b1aa2a",
"rgb": {
"r": 177,
"g": 170,
"b": 42
},
"hsl": {
"h": 56.889,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.72194,
"c": 0.14124,
"h": 106.2
},
"luminance": 0.38264
}Semantic roles & 50–950 ramp
primary
#B1AA2A
secondary
#7075C6
accent
#4BE543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B