#B1AA39#B1AA39
#B1AA39 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.3% C 0.132 H 105.8°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AA39 |
|---|---|
| RGB | rgb(177, 170, 57) |
| HSL | hsl(57, 51%, 46%) |
| HSV | hsv(57, 68%, 69%) |
| CMYK | cmyk(0%, 4%, 67.8%, 30.6%) |
| CIE-LAB | lab(68.31, -11.11, 56.56) |
| CIE-LCH | lch(68.31, 57.64, 101.11°) |
| OKLab | oklab(72.3% -0.0359 0.1269) |
| OKLCH | oklch(72.3% 0.132 105.8) |
| XYZ | xyz(33.2460, 38.3932, 9.5295) |
| Luminance | 0.3839 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.87
Puke
#A5A502
ΔE00 3.93
Muddy Yellow
#BFAC05
ΔE00 5.17
Olive Yellow
#C2B709
ΔE00 5.81
Mustard Green
#A8B504
ΔE00 6.10
Darkkhaki
#BDB76B
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AA39 #3940B1
analogous
#B16E39 #B1AA39 #7CB139
triadic
#B1AA39 #39B1AA #AA39B1
tetradic
#B1AA39 #39B16E #3940B1 #B1397C
square
#B1AA39 #39B16E #3940B1 #B1397C
split-complementary
#B1AA39 #397CB1 #6E39B1
monochromatic
#54511B #837E2A #B1AA39 #CBC45D #DAD58B
Accessibility & contrast
On white
2.42
#B1AA39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.68
#B1AA39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AA39
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AA39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AA39 | 1.00 | 2.42 | 8.68 | 8.68 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A429
Deuteranopia (green-blind)
#BBA940
Tritanopia (blue-blind)
#BE9F93
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b1aa39; /* rgb */ color: rgb(177, 170, 57); /* oklch */ color: oklch(72.3% 0.132 105.8);
Tailwind
colors: {
custom: {
50: '#cbc376',
500: '#b1aa39',
950: '#000000',
},
}SCSS
$custom: #b1aa39; $custom-light: #cbc376; $custom-dark: #000000;
JSON
{
"hex": "#b1aa39",
"rgb": {
"r": 177,
"g": 170,
"b": 57
},
"hsl": {
"h": 56.5,
"s": 51.282,
"l": 45.882
},
"oklch": {
"l": 0.72299,
"c": 0.13183,
"h": 105.8
},
"luminance": 0.38392
}Semantic roles & 50–950 ramp
primary
#B1AA39
secondary
#8286C4
accent
#55DB4D
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B