#BAAB39#BAAB39

#BAAB39 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.3% C 0.132 H 101.7°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#BAAB39
RGBrgb(186, 171, 57)
HSLhsl(53, 53%, 48%)
HSVhsv(53, 69%, 73%)
CMYKcmyk(0%, 8.1%, 69.4%, 27.1%)
CIE-LABlab(69.37, -7.72, 57.89)
CIE-LCHlch(69.37, 58.41, 97.60°)
OKLaboklab(73.33% -0.0268 0.1294)
OKLCHoklch(73.33% 0.132 101.7)
XYZxyz(35.5527, 39.8619, 9.6915)
Luminance0.3986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAB39 #3948BA
analogous
#BA6A39 #BAAB39 #89BA39
triadic
#BAAB39 #39BAAB #AB39BA
tetradic
#BAAB39 #39BA6A #3948BA #BA3989
square
#BAAB39 #39BA6A #3948BA #BA3989
split-complementary
#BAAB39 #3989BA #6A39BA
monochromatic
#5C551C #8B802B #BAAB39 #CFC261 #DDD490

Accessibility & contrast

On white

2.34
#BAAB39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#BAAB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAB39
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAB39#FFFFFF#000000##000000
##BAAB391.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA628
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#C89F94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baab39;
/* rgb */ color: rgb(186, 171, 57);
/* oklch */ color: oklch(73.3% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#d2c376',
    500: '#baab39',
    950: '#000000',
  },
}
SCSS
$custom: #baab39;
$custom-light: #d2c376;
$custom-dark: #000000;
JSON
{
  "hex": "#baab39",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 53.023,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73332,
    "c": 0.13212,
    "h": 101.7
  },
  "luminance": 0.3986
}

Semantic roles & 50–950 ramp

primary
#BAAB39
secondary
#878EC8
accent
#5CDC4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAAB39

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

Preview Lab → · Contrast checker → · Palette generator →

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