#BD9D2D#BD9D2D

#BD9D2D is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.6% C 0.130 H 92.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#BD9D2D
RGBrgb(189, 157, 45)
HSLhsl(47, 62%, 46%)
HSVhsv(47, 76%, 74%)
CMYKcmyk(0%, 16.9%, 76.2%, 25.9%)
CIE-LABlab(65.85, 0.47, 59.14)
CIE-LCHlch(65.85, 59.14, 89.54°)
OKLaboklab(70.58% -0.005 0.1296)
OKLCHoklch(70.58% 0.13 92.2)
XYZxyz(33.5188, 35.1243, 7.4963)
Luminance0.3512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9D2D #2D4DBD
analogous
#BD552D #BD9D2D #95BD2D
triadic
#BD9D2D #2DBD9D #9D2DBD
tetradic
#BD9D2D #2DBD55 #2D4DBD #BD2D95
square
#BD9D2D #2DBD55 #2D4DBD #BD2D95
split-complementary
#BD9D2D #2D95BD #552DBD
monochromatic
#5A4B15 #8C7421 #BD9D2D #D6B852 #E1CC83

Accessibility & contrast

On white

2.62
#BD9D2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#BD9D2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9D2D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9D2D#FFFFFF#000000##000000
##BD9D2D1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B18
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#CD9087
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd9d2d;
/* rgb */ color: rgb(189, 157, 45);
/* oklch */ color: oklch(70.6% 0.130 92.2);
Tailwind
colors: {
  custom: {
    50: '#d5b96e',
    500: '#bd9d2d',
    950: '#000000',
  },
}
SCSS
$custom: #bd9d2d;
$custom-light: #d5b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9d2d",
  "rgb": {
    "r": 189,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 46.667,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70582,
    "c": 0.12972,
    "h": 92.2
  },
  "luminance": 0.35122
}

Semantic roles & 50–950 ramp

primary
#BD9D2D
secondary
#7B8DCB
accent
#67E543
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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