#BAAB47#BAAB47

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

Color values

HEX#BAAB47
RGBrgb(186, 171, 71)
HSLhsl(52, 45%, 50%)
HSVhsv(52, 62%, 73%)
CMYKcmyk(0%, 8.1%, 61.8%, 27.1%)
CIE-LABlab(69.48, -6.87, 52.06)
CIE-LCHlch(69.48, 52.51, 97.52°)
OKLaboklab(73.46% -0.0228 0.1192)
OKLCHoklch(73.46% 0.121 100.8)
XYZxyz(35.9513, 40.0213, 11.7912)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAB47 #4756BA
analogous
#BA7147 #BAAB47 #8FBA47
triadic
#BAAB47 #47BAAB #AB47BA
tetradic
#BAAB47 #47BA71 #4756BA #BA478F
square
#BAAB47 #47BA71 #4756BA #BA478F
split-complementary
#BAAB47 #478FBA #7147BA
monochromatic
#625A25 #8E8335 #BAAB47 #CBBF74 #DBD4A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAB47#FFFFFF#000000##000000
##BAAB471.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)
#BAA63C
Deuteranopia (green-blind)
#BEAC4C
Tritanopia (blue-blind)
#C7A096
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baab47;
/* rgb */ color: rgb(186, 171, 71);
/* oklch */ color: oklch(73.5% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#d2c37e',
    500: '#baab47',
    950: '#000000',
  },
}
SCSS
$custom: #baab47;
$custom-light: #d2c37e;
$custom-dark: #000000;
JSON
{
  "hex": "#baab47",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 71
  },
  "hsl": {
    "h": 52.174,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73459,
    "c": 0.12139,
    "h": 100.8
  },
  "luminance": 0.4002
}

Semantic roles & 50–950 ramp

primary
#BAAB47
secondary
#959BC8
accent
#64D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAB47

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

Preview Lab → · Contrast checker → · Palette generator →

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