#BD9D31#BD9D31

#BD9D31 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.6% C 0.127 H 91.8°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#BD9D31
RGBrgb(189, 157, 49)
HSLhsl(46, 59%, 47%)
HSVhsv(46, 74%, 74%)
CMYKcmyk(0%, 16.9%, 74.1%, 25.9%)
CIE-LABlab(65.87, 0.65, 57.66)
CIE-LCHlch(65.87, 57.67, 89.36°)
OKLaboklab(70.61% -0.004 0.1273)
OKLCHoklch(70.61% 0.127 91.8)
XYZxyz(33.5995, 35.1565, 7.9213)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9D31 #3151BD
analogous
#BD5731 #BD9D31 #97BD31
triadic
#BD9D31 #31BD9D #9D31BD
tetradic
#BD9D31 #31BD57 #3151BD #BD3197
square
#BD9D31 #31BD57 #3151BD #BD3197
split-complementary
#BD9D31 #3197BD #5731BD
monochromatic
#5C4C18 #8C7524 #BD9D31 #D4B758 #E0CC88

Accessibility & contrast

On white

2.61
#BD9D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#BD9D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9D31
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9D31#FFFFFF#000000##000000
##BD9D311.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B20
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#CD9088
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd9d31;
/* rgb */ color: rgb(189, 157, 49);
/* oklch */ color: oklch(70.6% 0.127 91.8);
Tailwind
colors: {
  custom: {
    50: '#d5b970',
    500: '#bd9d31',
    950: '#000000',
  },
}
SCSS
$custom: #bd9d31;
$custom-light: #d5b970;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9d31",
  "rgb": {
    "r": 189,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 46.286,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7061,
    "c": 0.12735,
    "h": 91.8
  },
  "luminance": 0.35155
}

Semantic roles & 50–950 ramp

primary
#BD9D31
secondary
#8091CA
accent
#69E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9D31

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

Preview Lab → · Contrast checker → · Palette generator →

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