#BAA131#BAA131
#BAA131 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.1% C 0.130 H 96.1°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA131 |
|---|---|
| RGB | rgb(186, 161, 49) |
| HSL | hsl(49, 58%, 46%) |
| HSV | hsv(49, 74%, 73%) |
| CMYK | cmyk(0%, 13.4%, 73.7%, 27.1%) |
| CIE-LAB | lab(66.64, -2.82, 58.31) |
| CIE-LCH | lch(66.64, 58.37, 92.77°) |
| OKLab | oklab(71.15% -0.0137 0.1288) |
| OKLCH | oklch(71.15% 0.13 96.1) |
| XYZ | xyz(33.5507, 36.1524, 8.1161) |
| Luminance | 0.3615 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.66
Ocher
#BF9B0C
ΔE00 3.83
Dark Gold
#B59410
ΔE00 4.45
Yellow Brown
#B79400
ΔE00 4.85
Muddy Yellow
#BFAC05
ΔE00 4.88
Ocre
#C69C04
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA131 #314ABA
analogous
#BA5C31 #BAA131 #8EBA31
triadic
#BAA131 #31BAA1 #A131BA
tetradic
#BAA131 #31BA5C #314ABA #BA318E
square
#BAA131 #31BA5C #314ABA #BA318E
split-complementary
#BAA131 #318EBA #5C31BA
monochromatic
#594D17 #8A7724 #BAA131 #D2BC56 #DFCF86
Accessibility & contrast
On white
2.55
#BAA131 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#BAA131 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA131
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA131 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA131 | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D1E
Deuteranopia (green-blind)
#B8A538
Tritanopia (blue-blind)
#C9948B
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #baa131; /* rgb */ color: rgb(186, 161, 49); /* oklch */ color: oklch(71.1% 0.130 96.1);
Tailwind
colors: {
custom: {
50: '#d3bc71',
500: '#baa131',
950: '#000000',
},
}SCSS
$custom: #baa131; $custom-light: #d3bc71; $custom-dark: #000000;
JSON
{
"hex": "#baa131",
"rgb": {
"r": 186,
"g": 161,
"b": 49
},
"hsl": {
"h": 49.051,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.71147,
"c": 0.12951,
"h": 96.1
},
"luminance": 0.36151
}Semantic roles & 50–950 ramp
primary
#BAA131
secondary
#7E8CC9
accent
#63E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B