#BAAC40#BAAC40

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

Color values

HEX#BAAC40
RGBrgb(186, 172, 64)
HSLhsl(53, 49%, 49%)
HSVhsv(53, 66%, 73%)
CMYKcmyk(0%, 7.5%, 65.6%, 27.1%)
CIE-LABlab(69.69, -7.84, 55.34)
CIE-LCHlch(69.69, 55.90, 98.07°)
OKLaboklab(73.61% -0.0264 0.1252)
OKLCHoklch(73.61% 0.128 101.9)
XYZxyz(35.9291, 40.3158, 10.7387)
Luminance0.4031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAC40 #404EBA
analogous
#BA6F40 #BAAC40 #8BBA40
triadic
#BAAC40 #40BAAC #AC40BA
tetradic
#BAAC40 #40BA6F #404EBA #BA408B
square
#BAAC40 #40BA6F #404EBA #BA408B
split-complementary
#BAAC40 #408BBA #6F40BA
monochromatic
#5F5821 #8C8230 #BAAC40 #CCC16B #DCD499

Accessibility & contrast

On white

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

On black

9.06
#BAAC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAC40
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAC40#FFFFFF#000000##000000
##BAAC401.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baac40;
/* rgb */ color: rgb(186, 172, 64);
/* oklch */ color: oklch(73.6% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#d2c47a',
    500: '#baac40',
    950: '#000000',
  },
}
SCSS
$custom: #baac40;
$custom-light: #d2c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#baac40",
  "rgb": {
    "r": 186,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 53.115,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73606,
    "c": 0.12791,
    "h": 101.9
  },
  "luminance": 0.40314
}

Semantic roles & 50–950 ramp

primary
#BAAC40
secondary
#8E95C8
accent
#5FD84F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAC40

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

Preview Lab → · Contrast checker → · Palette generator →

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