#BAAC39#BAAC39

#BAAC39 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.5% C 0.133 H 102.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#BAAC39
RGBrgb(186, 172, 57)
HSLhsl(53, 53%, 48%)
HSVhsv(53, 69%, 73%)
CMYKcmyk(0%, 7.5%, 69.4%, 27.1%)
CIE-LABlab(69.64, -8.24, 58.17)
CIE-LCHlch(69.64, 58.75, 98.07°)
OKLaboklab(73.55% -0.0283 0.13)
OKLCHoklch(73.55% 0.133 102.3)
XYZxyz(35.7423, 40.2411, 9.7547)
Luminance0.4024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAC39 #3947BA
analogous
#BA6B39 #BAAC39 #88BA39
triadic
#BAAC39 #39BAAC #AC39BA
tetradic
#BAAC39 #39BA6B #3947BA #BA3988
square
#BAAC39 #39BA6B #3947BA #BA3988
split-complementary
#BAAC39 #3988BA #6B39BA
monochromatic
#5C551C #8B812B #BAAC39 #CFC361 #DDD590

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAC39#FFFFFF#000000##000000
##BAAC391.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)
#BCA728
Deuteranopia (green-blind)
#C0AD40
Tritanopia (blue-blind)
#C8A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baac39;
/* rgb */ color: rgb(186, 172, 57);
/* oklch */ color: oklch(73.5% 0.133 102.3);
Tailwind
colors: {
  custom: {
    50: '#d2c476',
    500: '#baac39',
    950: '#000000',
  },
}
SCSS
$custom: #baac39;
$custom-light: #d2c476;
$custom-dark: #000000;
JSON
{
  "hex": "#baac39",
  "rgb": {
    "r": 186,
    "g": 172,
    "b": 57
  },
  "hsl": {
    "h": 53.488,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73547,
    "c": 0.13299,
    "h": 102.3
  },
  "luminance": 0.4024
}

Semantic roles & 50–950 ramp

primary
#BAAC39
secondary
#878EC8
accent
#5BDC4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAAC39

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

Preview Lab → · Contrast checker → · Palette generator →

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