#BD9B2A#BD9B2A

#BD9B2A is a light, vivid yellow. Relative luminance 0.344; OKLCH L 70.1% C 0.130 H 91.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#BD9B2A
RGBrgb(189, 155, 42)
HSLhsl(46, 64%, 45%)
HSVhsv(46, 78%, 74%)
CMYKcmyk(0%, 18%, 77.8%, 25.9%)
CIE-LABlab(65.30, 1.43, 59.71)
CIE-LCHlch(65.30, 59.73, 88.63°)
OKLaboklab(70.15% -0.0025 0.1302)
OKLCHoklch(70.15% 0.13 91.1)
XYZxyz(33.1275, 34.4308, 7.0910)
Luminance0.3443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9B2A #2A4CBD
analogous
#BD512A #BD9B2A #96BD2A
triadic
#BD9B2A #2ABD9B #9B2ABD
tetradic
#BD9B2A #2ABD51 #2A4CBD #BD2A96
square
#BD9B2A #2ABD51 #2A4CBD #BD2A96
split-complementary
#BD9B2A #2A96BD #512ABD
monochromatic
#594914 #8B721F #BD9B2A #D7B74D #E3CB7F

Accessibility & contrast

On white

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

On black

7.89
#BD9B2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9B2A
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9B2A#FFFFFF#000000##000000
##BD9B2A1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9913
Deuteranopia (green-blind)
#B5A331
Tritanopia (blue-blind)
#CD8E85
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bd9b2a;
/* rgb */ color: rgb(189, 155, 42);
/* oklch */ color: oklch(70.1% 0.130 91.1);
Tailwind
colors: {
  custom: {
    50: '#d5b86d',
    500: '#bd9b2a',
    950: '#000000',
  },
}
SCSS
$custom: #bd9b2a;
$custom-light: #d5b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9b2a",
  "rgb": {
    "r": 189,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 46.122,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70148,
    "c": 0.13025,
    "h": 91.1
  },
  "luminance": 0.34429
}

Semantic roles & 50–950 ramp

primary
#BD9B2A
secondary
#788BCB
accent
#67E741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BD9B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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