#BD9D2B#BD9D2B

#BD9D2B is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.6% C 0.131 H 92.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#BD9D2B
RGBrgb(189, 157, 43)
HSLhsl(47, 63%, 45%)
HSVhsv(47, 77%, 74%)
CMYKcmyk(0%, 16.9%, 77.2%, 25.9%)
CIE-LABlab(65.83, 0.39, 59.85)
CIE-LCHlch(65.83, 59.85, 89.63°)
OKLaboklab(70.57% -0.0054 0.1307)
OKLCHoklch(70.57% 0.131 92.4)
XYZxyz(33.4812, 35.1092, 7.2983)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9D2B #2B4BBD
analogous
#BD542B #BD9D2B #94BD2B
triadic
#BD9D2B #2BBD9D #9D2BBD
tetradic
#BD9D2B #2BBD54 #2B4BBD #BD2B94
square
#BD9D2B #2BBD54 #2B4BBD #BD2B94
split-complementary
#BD9D2B #2B94BD #542BBD
monochromatic
#594A14 #8B7420 #BD9D2B #D7B94E #E2CD80

Accessibility & contrast

On white

2.62
#BD9D2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#BD9D2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9D2B
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9D2B#FFFFFF#000000##000000
##BD9D2B1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B14
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#CD9087
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd9d2b;
/* rgb */ color: rgb(189, 157, 43);
/* oklch */ color: oklch(70.6% 0.131 92.4);
Tailwind
colors: {
  custom: {
    50: '#d5b96d',
    500: '#bd9d2b',
    950: '#000000',
  },
}
SCSS
$custom: #bd9d2b;
$custom-light: #d5b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9d2b",
  "rgb": {
    "r": 189,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 46.849,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70569,
    "c": 0.13084,
    "h": 92.4
  },
  "luminance": 0.35107
}

Semantic roles & 50–950 ramp

primary
#BD9D2B
secondary
#798BCB
accent
#66E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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