#BD9F2B#BD9F2B

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

Color values

HEX#BD9F2B
RGBrgb(189, 159, 43)
HSLhsl(48, 63%, 45%)
HSVhsv(48, 77%, 74%)
CMYKcmyk(0%, 15.9%, 77.2%, 25.9%)
CIE-LABlab(66.36, -0.68, 60.34)
CIE-LCHlch(66.36, 60.34, 90.65°)
OKLaboklab(70.99% -0.0084 0.1318)
OKLCHoklch(70.99% 0.132 93.7)
XYZxyz(33.8223, 35.7915, 7.4120)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9F2B #2B49BD
analogous
#BD562B #BD9F2B #92BD2B
triadic
#BD9F2B #2BBD9F #9F2BBD
tetradic
#BD9F2B #2BBD56 #2B49BD #BD2B92
square
#BD9F2B #2BBD56 #2B49BD #BD2B92
split-complementary
#BD9F2B #2B92BD #562BBD
monochromatic
#594B14 #8B7520 #BD9F2B #D7BB4E #E2CE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BD9F2B#FFFFFF#000000##000000
##BD9F2B1.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)
#B19C14
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#CD9289
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bd9f2b;
/* rgb */ color: rgb(189, 159, 43);
/* oklch */ color: oklch(71.0% 0.132 93.7);
Tailwind
colors: {
  custom: {
    50: '#d5bb6e',
    500: '#bd9f2b',
    950: '#000000',
  },
}
SCSS
$custom: #bd9f2b;
$custom-light: #d5bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9f2b",
  "rgb": {
    "r": 189,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 47.671,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70985,
    "c": 0.13205,
    "h": 93.7
  },
  "luminance": 0.3579
}

Semantic roles & 50–950 ramp

primary
#BD9F2B
secondary
#798ACB
accent
#64E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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