#BAA941#BAA941

#BAA941 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.0% C 0.124 H 100.0°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#BAA941
RGBrgb(186, 169, 65)
HSLhsl(52, 48%, 49%)
HSVhsv(52, 65%, 73%)
CMYKcmyk(0%, 9.1%, 65.1%, 27.1%)
CIE-LABlab(68.89, -6.21, 54.07)
CIE-LCHlch(68.89, 54.43, 96.55°)
OKLaboklab(72.97% -0.0216 0.1226)
OKLCHoklch(72.97% 0.125 100)
XYZxyz(35.3933, 39.1982, 10.7017)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA941 #4152BA
analogous
#BA6D41 #BAA941 #8FBA41
triadic
#BAA941 #41BAA9 #A941BA
tetradic
#BAA941 #41BA6D #4152BA #BA418F
square
#BAA941 #41BA6D #4152BA #BA418F
split-complementary
#BAA941 #418FBA #6D41BA
monochromatic
#5F5721 #8D8031 #BAA941 #CCBE6C #DCD29A

Accessibility & contrast

On white

2.38
#BAA941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#BAA941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA941
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA941#FFFFFF#000000##000000
##BAA9411.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A434
Deuteranopia (green-blind)
#BDAB47
Tritanopia (blue-blind)
#C89D93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baa941;
/* rgb */ color: rgb(186, 169, 65);
/* oklch */ color: oklch(73.0% 0.124 100.0);
Tailwind
colors: {
  custom: {
    50: '#d2c27b',
    500: '#baa941',
    950: '#000000',
  },
}
SCSS
$custom: #baa941;
$custom-light: #d2c27b;
$custom-dark: #000000;
JSON
{
  "hex": "#baa941",
  "rgb": {
    "r": 186,
    "g": 169,
    "b": 65
  },
  "hsl": {
    "h": 51.57,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72974,
    "c": 0.1245,
    "h": 100
  },
  "luminance": 0.39197
}

Semantic roles & 50–950 ramp

primary
#BAA941
secondary
#8F97C8
accent
#63D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA941

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BAA941 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva