#BAAC47#BAAC47

#BAAC47 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.7% C 0.122 H 101.4°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#BAAC47
RGBrgb(186, 172, 71)
HSLhsl(53, 45%, 50%)
HSVhsv(53, 62%, 73%)
CMYKcmyk(0%, 7.5%, 61.8%, 27.1%)
CIE-LABlab(69.75, -7.39, 52.35)
CIE-LCHlch(69.75, 52.87, 98.04°)
OKLaboklab(73.67% -0.0243 0.1199)
OKLCHoklch(73.67% 0.122 101.4)
XYZxyz(36.1409, 40.4005, 11.8544)
Luminance0.4040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAC47 #4755BA
analogous
#BA7347 #BAAC47 #8EBA47
triadic
#BAAC47 #47BAAC #AC47BA
tetradic
#BAAC47 #47BA73 #4755BA #BA478E
square
#BAAC47 #47BA73 #4755BA #BA478E
split-complementary
#BAAC47 #478EBA #7347BA
monochromatic
#625A25 #8E8435 #BAAC47 #CBC074 #DBD4A0

Accessibility & contrast

On white

2.31
#BAAC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#BAAC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAC47
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAC47#FFFFFF#000000##000000
##BAAC471.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73C
Deuteranopia (green-blind)
#BFAD4C
Tritanopia (blue-blind)
#C7A196
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baac47;
/* rgb */ color: rgb(186, 172, 71);
/* oklch */ color: oklch(73.7% 0.122 101.4);
Tailwind
colors: {
  custom: {
    50: '#d2c47e',
    500: '#baac47',
    950: '#000000',
  },
}
SCSS
$custom: #baac47;
$custom-light: #d2c47e;
$custom-dark: #000000;
JSON
{
  "hex": "#baac47",
  "rgb": {
    "r": 186,
    "g": 172,
    "b": 71
  },
  "hsl": {
    "h": 52.696,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73672,
    "c": 0.12229,
    "h": 101.4
  },
  "luminance": 0.40399
}

Semantic roles & 50–950 ramp

primary
#BAAC47
secondary
#959BC8
accent
#63D553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAC47

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

Preview Lab → · Contrast checker → · Palette generator →

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