#BAA042#BAA042
#BAA042 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.1% C 0.117 H 93.7°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA042 |
|---|---|
| RGB | rgb(186, 160, 66) |
| HSL | hsl(47, 48%, 49%) |
| HSV | hsv(47, 65%, 73%) |
| CMYK | cmyk(0%, 14%, 64.5%, 27.1%) |
| CIE-LAB | lab(66.50, -1.35, 51.07) |
| CIE-LCH | lch(66.50, 51.08, 91.52°) |
| OKLab | oklab(71.08% -0.0075 0.1164) |
| OKLCH | oklch(71.08% 0.117 93.7) |
| XYZ | xyz(33.8055, 35.9758, 10.3166) |
| Luminance | 0.3597 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.94
Brown Yellow
#B29705
ΔE00 5.05
Sandy Brown
#C4A661
ΔE00 5.09
Dark Gold
#B59410
ΔE00 5.13
Desert
#CCAD60
ΔE00 5.35
Yellow Brown
#B79400
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA042 #425CBA
analogous
#BA6442 #BAA042 #98BA42
triadic
#BAA042 #42BAA0 #A042BA
tetradic
#BAA042 #42BA64 #425CBA #BA4298
square
#BAA042 #42BA64 #425CBA #BA4298
split-complementary
#BAA042 #4298BA #6442BA
monochromatic
#605222 #8D7932 #BAA042 #CBB76E #DBCD9B
Accessibility & contrast
On white
2.56
#BAA042 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#BAA042 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA042
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA042 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA042 | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09D37
Deuteranopia (green-blind)
#B6A546
Tritanopia (blue-blind)
#C8948C
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #baa042; /* rgb */ color: rgb(186, 160, 66); /* oklch */ color: oklch(71.1% 0.117 93.7);
Tailwind
colors: {
custom: {
50: '#d2bb7a',
500: '#baa042',
950: '#000000',
},
}SCSS
$custom: #baa042; $custom-light: #d2bb7a; $custom-dark: #000000;
JSON
{
"hex": "#baa042",
"rgb": {
"r": 186,
"g": 160,
"b": 66
},
"hsl": {
"h": 47,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.71082,
"c": 0.11664,
"h": 93.7
},
"luminance": 0.35974
}Semantic roles & 50–950 ramp
primary
#BAA042
secondary
#909CC8
accent
#6ED751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B