#BAA242#BAA242
#BAA242 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.118 H 95.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA242 |
|---|---|
| RGB | rgb(186, 162, 66) |
| HSL | hsl(48, 48%, 49%) |
| HSV | hsv(48, 65%, 73%) |
| CMYK | cmyk(0%, 12.9%, 64.5%, 27.1%) |
| CIE-LAB | lab(67.03, -2.42, 51.64) |
| CIE-LCH | lch(67.03, 51.70, 92.69°) |
| OKLab | oklab(71.5% -0.0106 0.1176) |
| OKLCH | oklch(71.5% 0.118 95.2) |
| XYZ | xyz(34.1550, 36.6748, 10.4331) |
| Luminance | 0.3667 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 5.18
Ocher
#BF9B0C
ΔE00 5.22
Sandy Brown
#C4A661
ΔE00 5.42
Desert
#CCAD60
ΔE00 5.42
Dark Gold
#B59410
ΔE00 5.56
Yellow Brown
#B79400
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA242 #425ABA
analogous
#BA6642 #BAA242 #96BA42
triadic
#BAA242 #42BAA2 #A242BA
tetradic
#BAA242 #42BA66 #425ABA #BA4296
square
#BAA242 #42BA66 #425ABA #BA4296
split-complementary
#BAA242 #4296BA #6642BA
monochromatic
#605322 #8D7B32 #BAA242 #CBB96E #DBCF9B
Accessibility & contrast
On white
2.52
#BAA242 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#BAA242 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA242
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA242 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA242 | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F37
Deuteranopia (green-blind)
#B8A647
Tritanopia (blue-blind)
#C8968E
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #baa242; /* rgb */ color: rgb(186, 162, 66); /* oklch */ color: oklch(71.5% 0.118 95.2);
Tailwind
colors: {
custom: {
50: '#d2bd7b',
500: '#baa242',
950: '#000000',
},
}SCSS
$custom: #baa242; $custom-light: #d2bd7b; $custom-dark: #000000;
JSON
{
"hex": "#baa242",
"rgb": {
"r": 186,
"g": 162,
"b": 66
},
"hsl": {
"h": 48,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.71502,
"c": 0.1181,
"h": 95.2
},
"luminance": 0.36673
}Semantic roles & 50–950 ramp
primary
#BAA242
secondary
#909BC8
accent
#6CD751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B