#BD9B31#BD9B31

#BD9B31 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 70.2% C 0.126 H 90.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#BD9B31
RGBrgb(189, 155, 49)
HSLhsl(45, 59%, 47%)
HSVhsv(45, 74%, 74%)
CMYKcmyk(0%, 18%, 74.1%, 25.9%)
CIE-LABlab(65.35, 1.73, 57.16)
CIE-LCHlch(65.35, 57.18, 88.27°)
OKLaboklab(70.2% -0.0009 0.1262)
OKLCHoklch(70.2% 0.126 90.4)
XYZxyz(33.2639, 34.4853, 7.8094)
Luminance0.3448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9B31 #3153BD
analogous
#BD5531 #BD9B31 #99BD31
triadic
#BD9B31 #31BD9B #9B31BD
tetradic
#BD9B31 #31BD55 #3153BD #BD3199
square
#BD9B31 #31BD55 #3153BD #BD3199
split-complementary
#BD9B31 #3199BD #5531BD
monochromatic
#5C4B18 #8C7324 #BD9B31 #D4B558 #E0CB88

Accessibility & contrast

On white

2.66
#BD9B31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#BD9B31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9B31
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9B31#FFFFFF#000000##000000
##BD9B311.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9920
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#CD8E86
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bd9b31;
/* rgb */ color: rgb(189, 155, 49);
/* oklch */ color: oklch(70.2% 0.126 90.4);
Tailwind
colors: {
  custom: {
    50: '#d5b870',
    500: '#bd9b31',
    950: '#000000',
  },
}
SCSS
$custom: #bd9b31;
$custom-light: #d5b870;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9b31",
  "rgb": {
    "r": 189,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 45.429,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70196,
    "c": 0.12621,
    "h": 90.4
  },
  "luminance": 0.34483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD9B31

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

Preview Lab → · Contrast checker → · Palette generator →

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