#BAAB3A#BAAB3A

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

Color values

HEX#BAAB3A
RGBrgb(186, 171, 58)
HSLhsl(53, 52%, 48%)
HSVhsv(53, 69%, 73%)
CMYKcmyk(0%, 8.1%, 68.8%, 27.1%)
CIE-LABlab(69.38, -7.67, 57.50)
CIE-LCHlch(69.38, 58.01, 97.59°)
OKLaboklab(73.34% -0.0265 0.1287)
OKLCHoklch(73.34% 0.131 101.6)
XYZxyz(35.5779, 39.8719, 9.8242)
Luminance0.3987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAB3A #3A49BA
analogous
#BA6B3A #BAAB3A #89BA3A
triadic
#BAAB3A #3ABAAB #AB3ABA
tetradic
#BAAB3A #3ABA6B #3A49BA #BA3A89
square
#BAAB3A #3ABA6B #3A49BA #BA3A89
split-complementary
#BAAB3A #3A89BA #6B3ABA
monochromatic
#5D551D #8B802B #BAAB3A #CEC263 #DDD492

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAB3A#FFFFFF#000000##000000
##BAAB3A1.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)
#BBA62A
Deuteranopia (green-blind)
#BFAC41
Tritanopia (blue-blind)
#C89F94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baab3a;
/* rgb */ color: rgb(186, 171, 58);
/* oklch */ color: oklch(73.3% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#d2c377',
    500: '#baab3a',
    950: '#000000',
  },
}
SCSS
$custom: #baab3a;
$custom-light: #d2c377;
$custom-dark: #000000;
JSON
{
  "hex": "#baab3a",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 52.969,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7334,
    "c": 0.13143,
    "h": 101.6
  },
  "luminance": 0.3987
}

Semantic roles & 50–950 ramp

primary
#BAAB3A
secondary
#888FC8
accent
#5DDC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAAB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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