#BAA542#BAA542

#BAA542 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.120 H 97.3°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#BAA542
RGBrgb(186, 165, 66)
HSLhsl(50, 48%, 49%)
HSVhsv(50, 65%, 73%)
CMYKcmyk(0%, 11.3%, 64.5%, 27.1%)
CIE-LABlab(67.83, -4.02, 52.50)
CIE-LCHlch(67.83, 52.65, 94.38°)
OKLaboklab(72.13% -0.0152 0.1195)
OKLCHoklch(72.13% 0.12 97.3)
XYZxyz(34.6897, 37.7444, 10.6114)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA542 #4257BA
analogous
#BA6942 #BAA542 #93BA42
triadic
#BAA542 #42BAA5 #A542BA
tetradic
#BAA542 #42BA69 #4257BA #BA4293
square
#BAA542 #42BA69 #4257BA #BA4293
split-complementary
#BAA542 #4293BA #6942BA
monochromatic
#605522 #8D7D32 #BAA542 #CBBB6E #DBD09B

Accessibility & contrast

On white

2.46
#BAA542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#BAA542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA542
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA542#FFFFFF#000000##000000
##BAA5421.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A136
Deuteranopia (green-blind)
#BAA847
Tritanopia (blue-blind)
#C89990
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #baa542;
/* rgb */ color: rgb(186, 165, 66);
/* oklch */ color: oklch(72.1% 0.120 97.3);
Tailwind
colors: {
  custom: {
    50: '#d2bf7b',
    500: '#baa542',
    950: '#000000',
  },
}
SCSS
$custom: #baa542;
$custom-light: #d2bf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#baa542",
  "rgb": {
    "r": 186,
    "g": 165,
    "b": 66
  },
  "hsl": {
    "h": 49.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72134,
    "c": 0.12042,
    "h": 97.3
  },
  "luminance": 0.37743
}

Semantic roles & 50–950 ramp

primary
#BAA542
secondary
#909AC8
accent
#68D751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA542

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

Preview Lab → · Contrast checker → · Palette generator →

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