#BAAC38#BAAC38

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

Color values

HEX#BAAC38
RGBrgb(186, 172, 56)
HSLhsl(54, 54%, 47%)
HSVhsv(54, 70%, 73%)
CMYKcmyk(0%, 7.5%, 69.9%, 27.1%)
CIE-LABlab(69.63, -8.30, 58.55)
CIE-LCHlch(69.63, 59.14, 98.06°)
OKLaboklab(73.54% -0.0285 0.1306)
OKLCHoklch(73.54% 0.134 102.3)
XYZxyz(35.7176, 40.2312, 9.6246)
Luminance0.4023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAC38 #3846BA
analogous
#BA6B38 #BAAC38 #87BA38
triadic
#BAAC38 #38BAAC #AC38BA
tetradic
#BAAC38 #38BA6B #3846BA #BA3887
square
#BAAC38 #38BA6B #3846BA #BA3887
split-complementary
#BAAC38 #3887BA #6B38BA
monochromatic
#5C551C #8B812A #BAAC38 #CFC360 #DDD58F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAC38#FFFFFF#000000##000000
##BAAC381.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)
#BCA727
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#C8A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baac38;
/* rgb */ color: rgb(186, 172, 56);
/* oklch */ color: oklch(73.5% 0.134 102.3);
Tailwind
colors: {
  custom: {
    50: '#d2c476',
    500: '#baac38',
    950: '#000000',
  },
}
SCSS
$custom: #baac38;
$custom-light: #d2c476;
$custom-dark: #000000;
JSON
{
  "hex": "#baac38",
  "rgb": {
    "r": 186,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 53.538,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73539,
    "c": 0.13367,
    "h": 102.3
  },
  "luminance": 0.4023
}

Semantic roles & 50–950 ramp

primary
#BAAC38
secondary
#868DC8
accent
#5ADD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAAC38

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

Preview Lab → · Contrast checker → · Palette generator →

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