#BAA841#BAA841
#BAA841 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.8% C 0.124 H 99.3°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA841 |
|---|---|
| RGB | rgb(186, 168, 65) |
| HSL | hsl(51, 48%, 49%) |
| HSV | hsv(51, 65%, 73%) |
| CMYK | cmyk(0%, 9.7%, 65.1%, 27.1%) |
| CIE-LAB | lab(68.63, -5.68, 53.79) |
| CIE-LCH | lch(68.63, 54.09, 96.03°) |
| OKLab | oklab(72.76% -0.0201 0.122) |
| OKLCH | oklch(72.76% 0.124 99.3) |
| XYZ | xyz(35.2080, 38.8276, 10.6399) |
| Luminance | 0.3883 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.79
Brownish Yellow
#C9B003
ΔE00 5.86
Brown Yellow
#B29705
ΔE00 6.22
Desert
#CCAD60
ΔE00 6.35
Puke
#A5A502
ΔE00 6.49
Ocher
#BF9B0C
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA841 #4153BA
analogous
#BA6B41 #BAA841 #90BA41
triadic
#BAA841 #41BAA8 #A841BA
tetradic
#BAA841 #41BA6B #4153BA #BA4190
square
#BAA841 #41BA6B #4153BA #BA4190
split-complementary
#BAA841 #4190BA #6B41BA
monochromatic
#5F5621 #8D7F31 #BAA841 #CCBE6C #DCD29A
Accessibility & contrast
On white
2.40
#BAA841 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#BAA841 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA841
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA841 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA841 | 1.00 | 2.40 | 8.77 | 8.77 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A434
Deuteranopia (green-blind)
#BCAA47
Tritanopia (blue-blind)
#C89C92
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #baa841; /* rgb */ color: rgb(186, 168, 65); /* oklch */ color: oklch(72.8% 0.124 99.3);
Tailwind
colors: {
custom: {
50: '#d2c17a',
500: '#baa841',
950: '#000000',
},
}SCSS
$custom: #baa841; $custom-light: #d2c17a; $custom-dark: #000000;
JSON
{
"hex": "#baa841",
"rgb": {
"r": 186,
"g": 168,
"b": 65
},
"hsl": {
"h": 51.074,
"s": 48.207,
"l": 49.216
},
"oklch": {
"l": 0.72761,
"c": 0.12366,
"h": 99.3
},
"luminance": 0.38826
}Semantic roles & 50–950 ramp
primary
#BAA841
secondary
#8F98C8
accent
#64D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C