#BD9F2A#BD9F2A

#BD9F2A is a light, vivid yellow. Relative luminance 0.358; OKLCH L 71.0% C 0.133 H 93.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#BD9F2A
RGBrgb(189, 159, 42)
HSLhsl(48, 64%, 45%)
HSVhsv(48, 78%, 74%)
CMYKcmyk(0%, 15.9%, 77.8%, 25.9%)
CIE-LABlab(66.35, -0.72, 60.68)
CIE-LCHlch(66.35, 60.68, 90.68°)
OKLaboklab(70.98% -0.0087 0.1323)
OKLCHoklch(70.98% 0.133 93.7)
XYZxyz(33.8042, 35.7843, 7.3166)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9F2A #2A48BD
analogous
#BD552A #BD9F2A #91BD2A
triadic
#BD9F2A #2ABD9F #9F2ABD
tetradic
#BD9F2A #2ABD55 #2A48BD #BD2A91
square
#BD9F2A #2ABD55 #2A48BD #BD2A91
split-complementary
#BD9F2A #2A91BD #552ABD
monochromatic
#594B14 #8B751F #BD9F2A #D7BB4D #E3CE7F

Accessibility & contrast

On white

2.57
#BD9F2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#BD9F2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9F2A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9F2A#FFFFFF#000000##000000
##BD9F2A1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C11
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#CD9289
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bd9f2a;
/* rgb */ color: rgb(189, 159, 42);
/* oklch */ color: oklch(71.0% 0.133 93.7);
Tailwind
colors: {
  custom: {
    50: '#d5bb6d',
    500: '#bd9f2a',
    950: '#000000',
  },
}
SCSS
$custom: #bd9f2a;
$custom-light: #d5bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9f2a",
  "rgb": {
    "r": 189,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 47.755,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70979,
    "c": 0.13258,
    "h": 93.7
  },
  "luminance": 0.35782
}

Semantic roles & 50–950 ramp

primary
#BD9F2A
secondary
#7889CB
accent
#63E741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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