#BAA533#BAA533

#BAA533 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.131 H 98.5°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#BAA533
RGBrgb(186, 165, 51)
HSLhsl(51, 57%, 46%)
HSVhsv(51, 73%, 73%)
CMYKcmyk(0%, 11.3%, 72.6%, 27.1%)
CIE-LABlab(67.72, -4.86, 58.60)
CIE-LCHlch(67.72, 58.80, 94.74°)
OKLaboklab(72.01% -0.0193 0.1298)
OKLCHoklch(72.01% 0.131 98.5)
XYZxyz(34.3040, 37.5901, 8.5800)
Luminance0.3759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA533 #3348BA
analogous
#BA6233 #BAA533 #8CBA33
triadic
#BAA533 #33BAA5 #A533BA
tetradic
#BAA533 #33BA62 #3348BA #BA338C
square
#BAA533 #33BA62 #3348BA #BA338C
split-complementary
#BAA533 #338CBA #6233BA
monochromatic
#5A5019 #8A7A26 #BAA533 #D1BF59 #DFD189

Accessibility & contrast

On white

2.47
#BAA533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#BAA533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA533
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA533#FFFFFF#000000##000000
##BAA5331.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A120
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#C9998E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #baa533;
/* rgb */ color: rgb(186, 165, 51);
/* oklch */ color: oklch(72.0% 0.131 98.5);
Tailwind
colors: {
  custom: {
    50: '#d2bf72',
    500: '#baa533',
    950: '#000000',
  },
}
SCSS
$custom: #baa533;
$custom-light: #d2bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#baa533",
  "rgb": {
    "r": 186,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 50.667,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72007,
    "c": 0.13121,
    "h": 98.5
  },
  "luminance": 0.37588
}

Semantic roles & 50–950 ramp

primary
#BAA533
secondary
#808CC9
accent
#5FE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAA533

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

Preview Lab → · Contrast checker → · Palette generator →

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