#BD9D38#BD9D38

#BD9D38 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.7% C 0.123 H 91.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#BD9D38
RGBrgb(189, 157, 56)
HSLhsl(46, 54%, 48%)
HSVhsv(46, 70%, 74%)
CMYKcmyk(0%, 16.9%, 70.4%, 25.9%)
CIE-LABlab(65.92, 0.99, 54.90)
CIE-LCHlch(65.92, 54.91, 88.96°)
OKLaboklab(70.66% -0.0022 0.1228)
OKLCHoklch(70.66% 0.123 91)
XYZxyz(33.7589, 35.2203, 8.7607)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9D38 #3858BD
analogous
#BD5A38 #BD9D38 #9ABD38
triadic
#BD9D38 #38BD9D #9D38BD
tetradic
#BD9D38 #38BD5A #3858BD #BD389A
square
#BD9D38 #38BD5A #3858BD #BD389A
split-complementary
#BD9D38 #389ABD #5A38BD
monochromatic
#5F4F1C #8E762A #BD9D38 #D0B662 #DECC91

Accessibility & contrast

On white

2.61
#BD9D38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#BD9D38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9D38
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9D38#FFFFFF#000000##000000
##BD9D381.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2A
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#CC9088
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd9d38;
/* rgb */ color: rgb(189, 157, 56);
/* oklch */ color: oklch(70.7% 0.123 91.0);
Tailwind
colors: {
  custom: {
    50: '#d5b974',
    500: '#bd9d38',
    950: '#000000',
  },
}
SCSS
$custom: #bd9d38;
$custom-light: #d5b974;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9d38",
  "rgb": {
    "r": 189,
    "g": 157,
    "b": 56
  },
  "hsl": {
    "h": 45.564,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70664,
    "c": 0.12278,
    "h": 91
  },
  "luminance": 0.35218
}

Semantic roles & 50–950 ramp

primary
#BD9D38
secondary
#8797C9
accent
#6EDE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BD9D38

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

Preview Lab → · Contrast checker → · Palette generator →

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