#BAA142#BAA142
#BAA142 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.3% C 0.117 H 94.4°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA142 |
|---|---|
| RGB | rgb(186, 161, 66) |
| HSL | hsl(48, 48%, 49%) |
| HSV | hsv(48, 65%, 73%) |
| CMYK | cmyk(0%, 13.4%, 64.5%, 27.1%) |
| CIE-LAB | lab(66.77, -1.89, 51.35) |
| CIE-LCH | lch(66.77, 51.39, 92.11°) |
| OKLab | oklab(71.29% -0.0091 0.117) |
| OKLCH | oklch(71.29% 0.117 94.4) |
| XYZ | xyz(33.9795, 36.3239, 10.3746) |
| Luminance | 0.3632 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 5.06
Brown Yellow
#B29705
ΔE00 5.09
Sandy Brown
#C4A661
ΔE00 5.24
Dark Gold
#B59410
ΔE00 5.33
Desert
#CCAD60
ΔE00 5.37
Yellow Brown
#B79400
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA142 #425BBA
analogous
#BA6542 #BAA142 #97BA42
triadic
#BAA142 #42BAA1 #A142BA
tetradic
#BAA142 #42BA65 #425BBA #BA4297
square
#BAA142 #42BA65 #425BBA #BA4297
split-complementary
#BAA142 #4297BA #6542BA
monochromatic
#605322 #8D7A32 #BAA142 #CBB86E #DBCE9B
Accessibility & contrast
On white
2.54
#BAA142 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#BAA142 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA142
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA142 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA142 | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19E37
Deuteranopia (green-blind)
#B7A647
Tritanopia (blue-blind)
#C8958D
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #baa142; /* rgb */ color: rgb(186, 161, 66); /* oklch */ color: oklch(71.3% 0.117 94.4);
Tailwind
colors: {
custom: {
50: '#d2bc7b',
500: '#baa142',
950: '#000000',
},
}SCSS
$custom: #baa142; $custom-light: #d2bc7b; $custom-dark: #000000;
JSON
{
"hex": "#baa142",
"rgb": {
"r": 186,
"g": 161,
"b": 66
},
"hsl": {
"h": 47.5,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.71292,
"c": 0.11736,
"h": 94.4
},
"luminance": 0.36322
}Semantic roles & 50–950 ramp
primary
#BAA142
secondary
#909CC8
accent
#6DD751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B