#BD9A2B#BD9A2B

#BD9A2B is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.9% C 0.129 H 90.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#BD9A2B
RGBrgb(189, 154, 43)
HSLhsl(46, 63%, 45%)
HSVhsv(46, 77%, 74%)
CMYKcmyk(0%, 18.5%, 77.2%, 25.9%)
CIE-LABlab(65.05, 2.01, 59.12)
CIE-LCHlch(65.05, 59.15, 88.05°)
OKLaboklab(69.95% -0.0008 0.1292)
OKLCHoklch(69.95% 0.129 90.3)
XYZxyz(32.9799, 34.1065, 7.1312)
Luminance0.3410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9A2B #2B4EBD
analogous
#BD512B #BD9A2B #97BD2B
triadic
#BD9A2B #2BBD9A #9A2BBD
tetradic
#BD9A2B #2BBD51 #2B4EBD #BD2B97
square
#BD9A2B #2BBD51 #2B4EBD #BD2B97
split-complementary
#BD9A2B #2B97BD #512BBD
monochromatic
#594914 #8B7120 #BD9A2B #D7B64E #E2CB80

Accessibility & contrast

On white

2.69
#BD9A2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#BD9A2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9A2B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9A2B#FFFFFF#000000##000000
##BD9A2B1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd9a2b;
/* rgb */ color: rgb(189, 154, 43);
/* oklch */ color: oklch(69.9% 0.129 90.3);
Tailwind
colors: {
  custom: {
    50: '#d5b76d',
    500: '#bd9a2b',
    950: '#000000',
  },
}
SCSS
$custom: #bd9a2b;
$custom-light: #d5b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9a2b",
  "rgb": {
    "r": 189,
    "g": 154,
    "b": 43
  },
  "hsl": {
    "h": 45.616,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69948,
    "c": 0.12917,
    "h": 90.3
  },
  "luminance": 0.34104
}

Semantic roles & 50–950 ramp

primary
#BD9A2B
secondary
#798DCB
accent
#69E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BD9A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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