#BAA246#BAA246
#BAA246 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.115 H 94.7°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA246 |
|---|---|
| RGB | rgb(186, 162, 70) |
| HSL | hsl(48, 46%, 50%) |
| HSV | hsv(48, 62%, 73%) |
| CMYK | cmyk(0%, 12.9%, 62.4%, 27.1%) |
| CIE-LAB | lab(67.07, -2.16, 49.86) |
| CIE-LCH | lch(67.07, 49.91, 92.48°) |
| OKLab | oklab(71.54% -0.0094 0.1144) |
| OKLCH | oklch(71.54% 0.115 94.7) |
| XYZ | xyz(34.2770, 36.7237, 11.0761) |
| Luminance | 0.3672 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 4.94
Desert
#CCAD60
ΔE00 5.08
Ocher
#BF9B0C
ΔE00 5.60
Brown Yellow
#B29705
ΔE00 5.61
Dark Gold
#B59410
ΔE00 5.87
Yellow Brown
#B79400
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA246 #465EBA
analogous
#BA6846 #BAA246 #98BA46
triadic
#BAA246 #46BAA2 #A246BA
tetradic
#BAA246 #46BA68 #465EBA #BA4698
square
#BAA246 #46BA68 #465EBA #BA4698
split-complementary
#BAA246 #4698BA #6846BA
monochromatic
#615524 #8E7B35 #BAA246 #CBB873 #DBCF9F
Accessibility & contrast
On white
2.52
#BAA246 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#BAA246 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA246
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA246 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA246 | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F3C
Deuteranopia (green-blind)
#B8A64A
Tritanopia (blue-blind)
#C8968E
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #baa246; /* rgb */ color: rgb(186, 162, 70); /* oklch */ color: oklch(71.5% 0.115 94.7);
Tailwind
colors: {
custom: {
50: '#d2bd7d',
500: '#baa246',
950: '#000000',
},
}SCSS
$custom: #baa246; $custom-light: #d2bd7d; $custom-dark: #000000;
JSON
{
"hex": "#baa246",
"rgb": {
"r": 186,
"g": 162,
"b": 70
},
"hsl": {
"h": 47.586,
"s": 45.669,
"l": 50.196
},
"oklch": {
"l": 0.71543,
"c": 0.1148,
"h": 94.7
},
"luminance": 0.36722
}Semantic roles & 50–950 ramp
primary
#BAA246
secondary
#949FC8
accent
#6ED552
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C