#BAAB46#BAAB46

#BAAB46 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.4% C 0.122 H 100.9°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#BAAB46
RGBrgb(186, 171, 70)
HSLhsl(52, 46%, 50%)
HSVhsv(52, 62%, 73%)
CMYKcmyk(0%, 8.1%, 62.4%, 27.1%)
CIE-LABlab(69.48, -6.94, 52.50)
CIE-LCHlch(69.48, 52.95, 97.53°)
OKLaboklab(73.45% -0.0231 0.12)
OKLCHoklch(73.45% 0.122 100.9)
XYZxyz(35.9195, 40.0086, 11.6235)
Luminance0.4001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAB46 #4655BA
analogous
#BA7146 #BAAB46 #8FBA46
triadic
#BAAB46 #46BAAB #AB46BA
tetradic
#BAAB46 #46BA71 #4655BA #BA468F
square
#BAAB46 #46BA71 #4655BA #BA468F
split-complementary
#BAAB46 #468FBA #7146BA
monochromatic
#615924 #8E8235 #BAAB46 #CBBF73 #DBD39F

Accessibility & contrast

On white

2.33
#BAAB46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#BAAB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAB46
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAB46#FFFFFF#000000##000000
##BAAB461.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA63A
Deuteranopia (green-blind)
#BEAC4B
Tritanopia (blue-blind)
#C7A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baab46;
/* rgb */ color: rgb(186, 171, 70);
/* oklch */ color: oklch(73.4% 0.122 100.9);
Tailwind
colors: {
  custom: {
    50: '#d2c37e',
    500: '#baab46',
    950: '#000000',
  },
}
SCSS
$custom: #baab46;
$custom-light: #d2c37e;
$custom-dark: #000000;
JSON
{
  "hex": "#baab46",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 70
  },
  "hsl": {
    "h": 52.241,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73449,
    "c": 0.12223,
    "h": 100.9
  },
  "luminance": 0.40007
}

Semantic roles & 50–950 ramp

primary
#BAAB46
secondary
#949BC8
accent
#63D552
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAB46

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

Preview Lab → · Contrast checker → · Palette generator →

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