#BAA32D#BAA32D

#BAA32D is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.133 H 97.6°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#BAA32D
RGBrgb(186, 163, 45)
HSLhsl(50, 61%, 45%)
HSVhsv(50, 76%, 73%)
CMYKcmyk(0%, 12.4%, 75.8%, 27.1%)
CIE-LABlab(67.15, -4.07, 60.26)
CIE-LCHlch(67.15, 60.40, 93.86°)
OKLaboklab(71.54% -0.0177 0.1322)
OKLCHoklch(71.54% 0.133 97.6)
XYZxyz(33.8223, 36.8247, 7.8085)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA32D #2D44BA
analogous
#BA5D2D #BAA32D #8ABA2D
triadic
#BAA32D #2DBAA3 #A32DBA
tetradic
#BAA32D #2DBA5D #2D44BA #BA2D8A
square
#BAA32D #2DBA5D #2D44BA #BA2D8A
split-complementary
#BAA32D #2D8ABA #5D2DBA
monochromatic
#574D15 #897821 #BAA32D #D5BF50 #E0D181

Accessibility & contrast

On white

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

On black

8.36
#BAA32D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA32D
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA32D#FFFFFF#000000##000000
##BAA32D1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F16
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#C9968C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #baa32d;
/* rgb */ color: rgb(186, 163, 45);
/* oklch */ color: oklch(71.5% 0.133 97.6);
Tailwind
colors: {
  custom: {
    50: '#d3bd6f',
    500: '#baa32d',
    950: '#000000',
  },
}
SCSS
$custom: #baa32d;
$custom-light: #d3bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#baa32d",
  "rgb": {
    "r": 186,
    "g": 163,
    "b": 45
  },
  "hsl": {
    "h": 50.213,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71542,
    "c": 0.13333,
    "h": 97.6
  },
  "luminance": 0.36823
}

Semantic roles & 50–950 ramp

primary
#BAA32D
secondary
#7986C9
accent
#5EE444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAA32D

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

Preview Lab → · Contrast checker → · Palette generator →

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