#BA9932#BA9932

#BA9932 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.5% C 0.124 H 90.6°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#BA9932
RGBrgb(186, 153, 50)
HSLhsl(45, 58%, 46%)
HSVhsv(45, 73%, 73%)
CMYKcmyk(0%, 17.7%, 73.1%, 27.1%)
CIE-LABlab(64.53, 1.53, 55.86)
CIE-LCHlch(64.53, 55.88, 88.43°)
OKLaboklab(69.48% -0.0012 0.1238)
OKLCHoklch(69.48% 0.124 90.6)
XYZxyz(32.2185, 33.4538, 7.7773)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9932 #3253BA
analogous
#BA5532 #BA9932 #97BA32
triadic
#BA9932 #32BA99 #9932BA
tetradic
#BA9932 #32BA55 #3253BA #BA3297
square
#BA9932 #32BA55 #3253BA #BA3297
split-complementary
#BA9932 #3297BA #5532BA
monochromatic
#5A4A18 #8A7125 #BA9932 #D2B457 #DFCA88

Accessibility & contrast

On white

2.73
#BA9932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#BA9932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9932
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9932#FFFFFF#000000##000000
##BA99321.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9722
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#C98C84
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba9932;
/* rgb */ color: rgb(186, 153, 50);
/* oklch */ color: oklch(69.5% 0.124 90.6);
Tailwind
colors: {
  custom: {
    50: '#d3b671',
    500: '#ba9932',
    950: '#000000',
  },
}
SCSS
$custom: #ba9932;
$custom-light: #d3b671;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9932",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 50
  },
  "hsl": {
    "h": 45.441,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69482,
    "c": 0.12379,
    "h": 90.6
  },
  "luminance": 0.33452
}

Semantic roles & 50–950 ramp

primary
#BA9932
secondary
#7F91C9
accent
#6CE147
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9932

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

Preview Lab → · Contrast checker → · Palette generator →

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