#BD9C31#BD9C31

#BD9C31 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.4% C 0.127 H 91.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#BD9C31
RGBrgb(189, 156, 49)
HSLhsl(46, 59%, 47%)
HSVhsv(46, 74%, 74%)
CMYKcmyk(0%, 17.5%, 74.1%, 25.9%)
CIE-LABlab(65.61, 1.19, 57.41)
CIE-LCHlch(65.61, 57.42, 88.82°)
OKLaboklab(70.4% -0.0025 0.1268)
OKLCHoklch(70.4% 0.127 91.1)
XYZxyz(33.4310, 34.8195, 7.8651)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9C31 #3152BD
analogous
#BD5631 #BD9C31 #98BD31
triadic
#BD9C31 #31BD9C #9C31BD
tetradic
#BD9C31 #31BD56 #3152BD #BD3198
square
#BD9C31 #31BD56 #3152BD #BD3198
split-complementary
#BD9C31 #3198BD #5631BD
monochromatic
#5C4C18 #8C7424 #BD9C31 #D4B658 #E0CB88

Accessibility & contrast

On white

2.64
#BD9C31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#BD9C31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9C31
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9C31#FFFFFF#000000##000000
##BD9C311.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A20
Deuteranopia (green-blind)
#B6A337
Tritanopia (blue-blind)
#CD8F87
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bd9c31;
/* rgb */ color: rgb(189, 156, 49);
/* oklch */ color: oklch(70.4% 0.127 91.1);
Tailwind
colors: {
  custom: {
    50: '#d5b870',
    500: '#bd9c31',
    950: '#000000',
  },
}
SCSS
$custom: #bd9c31;
$custom-light: #d5b870;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9c31",
  "rgb": {
    "r": 189,
    "g": 156,
    "b": 49
  },
  "hsl": {
    "h": 45.857,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70402,
    "c": 0.12677,
    "h": 91.1
  },
  "luminance": 0.34818
}

Semantic roles & 50–950 ramp

primary
#BD9C31
secondary
#8091CA
accent
#6BE246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9C31

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

Preview Lab → · Contrast checker → · Palette generator →

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