#BAAB43#BAAB43

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

Color values

HEX#BAAB43
RGBrgb(186, 171, 67)
HSLhsl(52, 47%, 50%)
HSVhsv(52, 64%, 73%)
CMYKcmyk(0%, 8.1%, 64%, 27.1%)
CIE-LABlab(69.45, -7.13, 53.79)
CIE-LCHlch(69.45, 54.26, 97.55°)
OKLaboklab(73.42% -0.024 0.1223)
OKLCHoklch(73.42% 0.125 101.1)
XYZxyz(35.8272, 39.9717, 11.1372)
Luminance0.3997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAB43 #4352BA
analogous
#BA7043 #BAAB43 #8EBA43
triadic
#BAAB43 #43BAAB #AB43BA
tetradic
#BAAB43 #43BA70 #4352BA #BA438E
square
#BAAB43 #43BA70 #4352BA #BA438E
split-complementary
#BAAB43 #438EBA #7043BA
monochromatic
#605823 #8D8233 #BAAB43 #CBC06F #DBD39C

Accessibility & contrast

On white

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

On black

8.99
#BAAB43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAB43
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAB43#FFFFFF#000000##000000
##BAAB431.002.338.998.99
#FFFFFF2.331.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA637
Deuteranopia (green-blind)
#BFAC49
Tritanopia (blue-blind)
#C89F95
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baab43;
/* rgb */ color: rgb(186, 171, 67);
/* oklch */ color: oklch(73.4% 0.125 101.1);
Tailwind
colors: {
  custom: {
    50: '#d2c37c',
    500: '#baab43',
    950: '#000000',
  },
}
SCSS
$custom: #baab43;
$custom-light: #d2c37c;
$custom-dark: #000000;
JSON
{
  "hex": "#baab43",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 67
  },
  "hsl": {
    "h": 52.437,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73419,
    "c": 0.12467,
    "h": 101.1
  },
  "luminance": 0.3997
}

Semantic roles & 50–950 ramp

primary
#BAAB43
secondary
#9198C8
accent
#62D751
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAB43

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

Preview Lab → · Contrast checker → · Palette generator →

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