#BD9D2F#BD9D2F

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

Color values

HEX#BD9D2F
RGBrgb(189, 157, 47)
HSLhsl(46, 60%, 46%)
HSVhsv(46, 75%, 74%)
CMYKcmyk(0%, 16.9%, 75.1%, 25.9%)
CIE-LABlab(65.86, 0.56, 58.41)
CIE-LCHlch(65.86, 58.42, 89.45°)
OKLaboklab(70.6% -0.0045 0.1285)
OKLCHoklch(70.6% 0.129 92)
XYZxyz(33.5582, 35.1400, 7.7039)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9D2F #2F4FBD
analogous
#BD562F #BD9D2F #96BD2F
triadic
#BD9D2F #2FBD9D #9D2FBD
tetradic
#BD9D2F #2FBD56 #2F4FBD #BD2F96
square
#BD9D2F #2FBD56 #2F4FBD #BD2F96
split-complementary
#BD9D2F #2F96BD #562FBD
monochromatic
#5B4C17 #8C7423 #BD9D2F #D5B855 #E1CC86

Accessibility & contrast

On white

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

On black

8.03
#BD9D2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9D2F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9D2F#FFFFFF#000000##000000
##BD9D2F1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd9d2f;
/* rgb */ color: rgb(189, 157, 47);
/* oklch */ color: oklch(70.6% 0.129 92.0);
Tailwind
colors: {
  custom: {
    50: '#d5b96f',
    500: '#bd9d2f',
    950: '#000000',
  },
}
SCSS
$custom: #bd9d2f;
$custom-light: #d5b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9d2f",
  "rgb": {
    "r": 189,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 46.479,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70595,
    "c": 0.12857,
    "h": 92
  },
  "luminance": 0.35138
}

Semantic roles & 50–950 ramp

primary
#BD9D2F
secondary
#7E8FCA
accent
#68E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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