#BD9E2D#BD9E2D

#BD9E2D is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.8% C 0.130 H 92.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#BD9E2D
RGBrgb(189, 158, 45)
HSLhsl(47, 62%, 46%)
HSVhsv(47, 76%, 74%)
CMYKcmyk(0%, 16.4%, 76.2%, 25.9%)
CIE-LABlab(66.11, -0.07, 59.39)
CIE-LCHlch(66.11, 59.39, 90.06°)
OKLaboklab(70.79% -0.0065 0.1302)
OKLCHoklch(70.79% 0.13 92.9)
XYZxyz(33.6887, 35.4640, 7.5529)
Luminance0.3546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9E2D #2D4CBD
analogous
#BD562D #BD9E2D #94BD2D
triadic
#BD9E2D #2DBD9E #9E2DBD
tetradic
#BD9E2D #2DBD56 #2D4CBD #BD2D94
square
#BD9E2D #2DBD56 #2D4CBD #BD2D94
split-complementary
#BD9E2D #2D94BD #562DBD
monochromatic
#5A4B15 #8C7521 #BD9E2D #D6B952 #E1CD83

Accessibility & contrast

On white

2.60
#BD9E2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#BD9E2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9E2D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9E2D#FFFFFF#000000##000000
##BD9E2D1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B18
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#CD9188
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bd9e2d;
/* rgb */ color: rgb(189, 158, 45);
/* oklch */ color: oklch(70.8% 0.130 92.9);
Tailwind
colors: {
  custom: {
    50: '#d5ba6f',
    500: '#bd9e2d',
    950: '#000000',
  },
}
SCSS
$custom: #bd9e2d;
$custom-light: #d5ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9e2d",
  "rgb": {
    "r": 189,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 47.083,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70789,
    "c": 0.13032,
    "h": 92.9
  },
  "luminance": 0.35462
}

Semantic roles & 50–950 ramp

primary
#BD9E2D
secondary
#7B8CCB
accent
#66E543
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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