#BAAC42#BAAC42

#BAAC42 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.6% C 0.126 H 101.8°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#BAAC42
RGBrgb(186, 172, 66)
HSLhsl(53, 48%, 49%)
HSVhsv(53, 65%, 73%)
CMYKcmyk(0%, 7.5%, 64.5%, 27.1%)
CIE-LABlab(69.71, -7.72, 54.50)
CIE-LCHlch(69.71, 55.05, 98.06°)
OKLaboklab(73.62% -0.0258 0.1237)
OKLCHoklch(73.62% 0.126 101.8)
XYZxyz(35.9870, 40.3390, 11.0438)
Luminance0.4034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAC42 #4250BA
analogous
#BA7042 #BAAC42 #8CBA42
triadic
#BAAC42 #42BAAC #AC42BA
tetradic
#BAAC42 #42BA70 #4250BA #BA428C
square
#BAAC42 #42BA70 #4250BA #BA428C
split-complementary
#BAAC42 #428CBA #7042BA
monochromatic
#605822 #8D8232 #BAAC42 #CBC16E #DBD49B

Accessibility & contrast

On white

2.32
#BAAC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#BAAC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAC42
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAC42#FFFFFF#000000##000000
##BAAC421.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA735
Deuteranopia (green-blind)
#BFAD48
Tritanopia (blue-blind)
#C8A096
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baac42;
/* rgb */ color: rgb(186, 172, 66);
/* oklch */ color: oklch(73.6% 0.126 101.8);
Tailwind
colors: {
  custom: {
    50: '#d2c47b',
    500: '#baac42',
    950: '#000000',
  },
}
SCSS
$custom: #baac42;
$custom-light: #d2c47b;
$custom-dark: #000000;
JSON
{
  "hex": "#baac42",
  "rgb": {
    "r": 186,
    "g": 172,
    "b": 66
  },
  "hsl": {
    "h": 53,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73624,
    "c": 0.12635,
    "h": 101.8
  },
  "luminance": 0.40337
}

Semantic roles & 50–950 ramp

primary
#BAAC42
secondary
#9097C8
accent
#60D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAC42

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

Preview Lab → · Contrast checker → · Palette generator →

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