#BAAC3C#BAAC3C

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

Color values

HEX#BAAC3C
RGBrgb(186, 172, 60)
HSLhsl(53, 51%, 48%)
HSVhsv(53, 68%, 73%)
CMYKcmyk(0%, 7.5%, 67.7%, 27.1%)
CIE-LABlab(69.66, -8.08, 56.98)
CIE-LCHlch(69.66, 57.55, 98.07°)
OKLaboklab(73.57% -0.0275 0.128)
OKLCHoklch(73.57% 0.131 102.1)
XYZxyz(35.8193, 40.2719, 10.1606)
Luminance0.4027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAC3C #3C4ABA
analogous
#BA6D3C #BAAC3C #89BA3C
triadic
#BAAC3C #3CBAAC #AC3CBA
tetradic
#BAAC3C #3CBA6D #3C4ABA #BA3C89
square
#BAAC3C #3CBA6D #3C4ABA #BA3C89
split-complementary
#BAAC3C #3C89BA #6D3CBA
monochromatic
#5D561E #8C812D #BAAC3C #CEC266 #DCD494

Accessibility & contrast

On white

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

On black

9.05
#BAAC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAC3C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAC3C#FFFFFF#000000##000000
##BAAC3C1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA72D
Deuteranopia (green-blind)
#C0AD43
Tritanopia (blue-blind)
#C8A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baac3c;
/* rgb */ color: rgb(186, 172, 60);
/* oklch */ color: oklch(73.6% 0.131 102.1);
Tailwind
colors: {
  custom: {
    50: '#d2c478',
    500: '#baac3c',
    950: '#000000',
  },
}
SCSS
$custom: #baac3c;
$custom-light: #d2c478;
$custom-dark: #000000;
JSON
{
  "hex": "#baac3c",
  "rgb": {
    "r": 186,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 53.333,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73571,
    "c": 0.13088,
    "h": 102.1
  },
  "luminance": 0.4027
}

Semantic roles & 50–950 ramp

primary
#BAAC3C
secondary
#8A91C8
accent
#5DDB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BAAC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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