#BD9A31#BD9A31

#BD9A31 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 70.0% C 0.126 H 89.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#BD9A31
RGBrgb(189, 154, 49)
HSLhsl(45, 59%, 47%)
HSVhsv(45, 74%, 74%)
CMYKcmyk(0%, 18.5%, 74.1%, 25.9%)
CIE-LABlab(65.08, 2.27, 56.90)
CIE-LCHlch(65.08, 56.95, 87.72°)
OKLaboklab(69.99% 0.0006 0.1257)
OKLCHoklch(69.99% 0.126 89.7)
XYZxyz(33.0982, 34.1539, 7.7542)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9A31 #3154BD
analogous
#BD5431 #BD9A31 #9ABD31
triadic
#BD9A31 #31BD9A #9A31BD
tetradic
#BD9A31 #31BD54 #3154BD #BD319A
square
#BD9A31 #31BD54 #3154BD #BD319A
split-complementary
#BD9A31 #319ABD #5431BD
monochromatic
#5C4B18 #8C7224 #BD9A31 #D4B558 #E0CA88

Accessibility & contrast

On white

2.68
#BD9A31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#BD9A31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9A31
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9A31#FFFFFF#000000##000000
##BD9A311.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9820
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#CD8D85
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bd9a31;
/* rgb */ color: rgb(189, 154, 49);
/* oklch */ color: oklch(70.0% 0.126 89.7);
Tailwind
colors: {
  custom: {
    50: '#d5b770',
    500: '#bd9a31',
    950: '#000000',
  },
}
SCSS
$custom: #bd9a31;
$custom-light: #d5b770;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9a31",
  "rgb": {
    "r": 189,
    "g": 154,
    "b": 49
  },
  "hsl": {
    "h": 45,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.6999,
    "c": 0.12567,
    "h": 89.7
  },
  "luminance": 0.34152
}

Semantic roles & 50–950 ramp

primary
#BD9A31
secondary
#8092CA
accent
#6DE246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9A31

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

Preview Lab → · Contrast checker → · Palette generator →

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