#BAA942#BAA942
#BAA942 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.0% C 0.124 H 99.9°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA942 |
|---|---|
| RGB | rgb(186, 169, 66) |
| HSL | hsl(52, 48%, 49%) |
| HSV | hsv(52, 65%, 73%) |
| CMYK | cmyk(0%, 9.1%, 64.5%, 27.1%) |
| CIE-LAB | lab(68.90, -6.14, 53.65) |
| CIE-LCH | lch(68.90, 54.00, 96.53°) |
| OKLab | oklab(72.98% -0.0213 0.1219) |
| OKLCH | oklch(72.98% 0.124 99.9) |
| XYZ | xyz(35.4225, 39.2099, 10.8556) |
| Luminance | 0.3921 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.79
Brownish Yellow
#C9B003
ΔE00 5.88
Puke
#A5A502
ΔE00 6.36
Olive Yellow
#C2B709
ΔE00 6.46
Darkkhaki
#BDB76B
ΔE00 6.47
Desert
#CCAD60
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA942 #4253BA
analogous
#BA6D42 #BAA942 #8FBA42
triadic
#BAA942 #42BAA9 #A942BA
tetradic
#BAA942 #42BA6D #4253BA #BA428F
square
#BAA942 #42BA6D #4253BA #BA428F
split-complementary
#BAA942 #428FBA #6D42BA
monochromatic
#605722 #8D8032 #BAA942 #CBBE6E #DBD29B
Accessibility & contrast
On white
2.38
#BAA942 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#BAA942 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA942
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA942 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA942 | 1.00 | 2.38 | 8.84 | 8.84 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A436
Deuteranopia (green-blind)
#BDAB48
Tritanopia (blue-blind)
#C89D93
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #baa942; /* rgb */ color: rgb(186, 169, 66); /* oklch */ color: oklch(73.0% 0.124 99.9);
Tailwind
colors: {
custom: {
50: '#d2c27b',
500: '#baa942',
950: '#000000',
},
}SCSS
$custom: #baa942; $custom-light: #d2c27b; $custom-dark: #000000;
JSON
{
"hex": "#baa942",
"rgb": {
"r": 186,
"g": 169,
"b": 66
},
"hsl": {
"h": 51.5,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.72983,
"c": 0.12371,
"h": 99.9
},
"luminance": 0.39208
}Semantic roles & 50–950 ramp
primary
#BAA942
secondary
#9098C8
accent
#64D751
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C