#BAA342#BAA342
#BAA342 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.7% C 0.119 H 95.9°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA342 |
|---|---|
| RGB | rgb(186, 163, 66) |
| HSL | hsl(49, 48%, 49%) |
| HSV | hsv(49, 65%, 73%) |
| CMYK | cmyk(0%, 12.4%, 64.5%, 27.1%) |
| CIE-LAB | lab(67.30, -2.96, 51.93) |
| CIE-LCH | lch(67.30, 52.01, 93.26°) |
| OKLab | oklab(71.71% -0.0122 0.1182) |
| OKLCH | oklch(71.71% 0.119 95.9) |
| XYZ | xyz(34.3318, 37.0285, 10.4921) |
| Luminance | 0.3703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 5.29
Ocher
#BF9B0C
ΔE00 5.41
Desert
#CCAD60
ΔE00 5.51
Sandy Brown
#C4A661
ΔE00 5.62
Dark Gold
#B59410
ΔE00 5.81
Muddy Yellow
#BFAC05
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA342 #4259BA
analogous
#BA6742 #BAA342 #95BA42
triadic
#BAA342 #42BAA3 #A342BA
tetradic
#BAA342 #42BA67 #4259BA #BA4295
square
#BAA342 #42BA67 #4259BA #BA4295
split-complementary
#BAA342 #4295BA #6742BA
monochromatic
#605422 #8D7B32 #BAA342 #CBB96E #DBCF9B
Accessibility & contrast
On white
2.50
#BAA342 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#BAA342 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA342
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA342 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA342 | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A037
Deuteranopia (green-blind)
#B9A747
Tritanopia (blue-blind)
#C8978E
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #baa342; /* rgb */ color: rgb(186, 163, 66); /* oklch */ color: oklch(71.7% 0.119 95.9);
Tailwind
colors: {
custom: {
50: '#d2be7b',
500: '#baa342',
950: '#000000',
},
}SCSS
$custom: #baa342; $custom-light: #d2be7b; $custom-dark: #000000;
JSON
{
"hex": "#baa342",
"rgb": {
"r": 186,
"g": 163,
"b": 66
},
"hsl": {
"h": 48.5,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.71712,
"c": 0.11885,
"h": 95.9
},
"luminance": 0.37027
}Semantic roles & 50–950 ramp
primary
#BAA342
secondary
#909BC8
accent
#6AD751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C