#BAA542#BAA542
#BAA542 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.120 H 97.3°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA542 |
|---|---|
| RGB | rgb(186, 165, 66) |
| HSL | hsl(50, 48%, 49%) |
| HSV | hsv(50, 65%, 73%) |
| CMYK | cmyk(0%, 11.3%, 64.5%, 27.1%) |
| CIE-LAB | lab(67.83, -4.02, 52.50) |
| CIE-LCH | lch(67.83, 52.65, 94.38°) |
| OKLab | oklab(72.13% -0.0152 0.1195) |
| OKLCH | oklch(72.13% 0.12 97.3) |
| XYZ | xyz(34.6897, 37.7444, 10.6114) |
| Luminance | 0.3774 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 5.46
Brown Yellow
#B29705
ΔE00 5.62
Desert
#CCAD60
ΔE00 5.75
Ocher
#BF9B0C
ΔE00 5.86
Sandy Brown
#C4A661
ΔE00 6.07
Dark Gold
#B59410
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA542 #4257BA
analogous
#BA6942 #BAA542 #93BA42
triadic
#BAA542 #42BAA5 #A542BA
tetradic
#BAA542 #42BA69 #4257BA #BA4293
square
#BAA542 #42BA69 #4257BA #BA4293
split-complementary
#BAA542 #4293BA #6942BA
monochromatic
#605522 #8D7D32 #BAA542 #CBBB6E #DBD09B
Accessibility & contrast
On white
2.46
#BAA542 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.55
#BAA542 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA542
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA542 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA542 | 1.00 | 2.46 | 8.55 | 8.55 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A136
Deuteranopia (green-blind)
#BAA847
Tritanopia (blue-blind)
#C89990
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #baa542; /* rgb */ color: rgb(186, 165, 66); /* oklch */ color: oklch(72.1% 0.120 97.3);
Tailwind
colors: {
custom: {
50: '#d2bf7b',
500: '#baa542',
950: '#000000',
},
}SCSS
$custom: #baa542; $custom-light: #d2bf7b; $custom-dark: #000000;
JSON
{
"hex": "#baa542",
"rgb": {
"r": 186,
"g": 165,
"b": 66
},
"hsl": {
"h": 49.5,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.72134,
"c": 0.12042,
"h": 97.3
},
"luminance": 0.37743
}Semantic roles & 50–950 ramp
primary
#BAA542
secondary
#909AC8
accent
#68D751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C