#BAA332#BAA332

#BAA332 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.130 H 97.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#BAA332
RGBrgb(186, 163, 50)
HSLhsl(50, 58%, 46%)
HSVhsv(50, 73%, 73%)
CMYKcmyk(0%, 12.4%, 73.1%, 27.1%)
CIE-LABlab(67.18, -3.84, 58.45)
CIE-LCHlch(67.18, 58.58, 93.76°)
OKLaboklab(71.58% -0.0165 0.1293)
OKLCHoklch(71.58% 0.13 97.3)
XYZxyz(33.9243, 36.8655, 8.3459)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA332 #3249BA
analogous
#BA5F32 #BAA332 #8DBA32
triadic
#BAA332 #32BAA3 #A332BA
tetradic
#BAA332 #32BA5F #3249BA #BA328D
square
#BAA332 #32BA5F #3249BA #BA328D
split-complementary
#BAA332 #328DBA #5F32BA
monochromatic
#5A4E18 #8A7925 #BAA332 #D2BD57 #DFD088

Accessibility & contrast

On white

2.51
#BAA332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#BAA332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA332
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA332#FFFFFF#000000##000000
##BAA3321.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1F
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#C9968D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #baa332;
/* rgb */ color: rgb(186, 163, 50);
/* oklch */ color: oklch(71.6% 0.130 97.3);
Tailwind
colors: {
  custom: {
    50: '#d3bd72',
    500: '#baa332',
    950: '#000000',
  },
}
SCSS
$custom: #baa332;
$custom-light: #d3bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#baa332",
  "rgb": {
    "r": 186,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 49.853,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71576,
    "c": 0.13033,
    "h": 97.3
  },
  "luminance": 0.36864
}

Semantic roles & 50–950 ramp

primary
#BAA332
secondary
#7F8CC9
accent
#61E147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAA332

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

Preview Lab → · Contrast checker → · Palette generator →

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