#B1AA34#B1AA34
#B1AA34 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.135 H 105.9°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AA34 |
|---|---|
| RGB | rgb(177, 170, 52) |
| HSL | hsl(57, 55%, 45%) |
| HSV | hsv(57, 71%, 69%) |
| CMYK | cmyk(0%, 4%, 70.6%, 30.6%) |
| CIE-LAB | lab(68.27, -11.38, 58.49) |
| CIE-LCH | lch(68.27, 59.59, 101.01°) |
| OKLab | oklab(72.26% -0.0371 0.1301) |
| OKLCH | oklch(72.26% 0.135 105.9) |
| XYZ | xyz(33.1273, 38.3457, 8.9046) |
| Luminance | 0.3834 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.54
Vomit
#A2A415
ΔE00 3.60
Muddy Yellow
#BFAC05
ΔE00 4.79
Olive Yellow
#C2B709
ΔE00 5.44
Mustard Green
#A8B504
ΔE00 5.83
Puke Yellow
#C2BE0E
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AA34 #343BB1
analogous
#B16C34 #B1AA34 #7AB134
triadic
#B1AA34 #34B1AA #AA34B1
tetradic
#B1AA34 #34B16C #343BB1 #B1347A
square
#B1AA34 #34B16C #343BB1 #B1347A
split-complementary
#B1AA34 #347AB1 #6C34B1
monochromatic
#524F18 #827D26 #B1AA34 #CDC655 #DBD684
Accessibility & contrast
On white
2.42
#B1AA34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.67
#B1AA34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AA34
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AA34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AA34 | 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)
#B9A421
Deuteranopia (green-blind)
#BBA93C
Tritanopia (blue-blind)
#BE9F93
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b1aa34; /* rgb */ color: rgb(177, 170, 52); /* oklch */ color: oklch(72.3% 0.135 105.9);
Tailwind
colors: {
custom: {
50: '#ccc373',
500: '#b1aa34',
950: '#000000',
},
}SCSS
$custom: #b1aa34; $custom-light: #ccc373; $custom-dark: #000000;
JSON
{
"hex": "#b1aa34",
"rgb": {
"r": 177,
"g": 170,
"b": 52
},
"hsl": {
"h": 56.64,
"s": 54.585,
"l": 44.902
},
"oklch": {
"l": 0.7226,
"c": 0.13526,
"h": 105.9
},
"luminance": 0.38344
}Semantic roles & 50–950 ramp
primary
#B1AA34
secondary
#7C80C5
accent
#52DE4A
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B