#BD9F38#BD9F38

#BD9F38 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 71.1% C 0.124 H 92.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#BD9F38
RGBrgb(189, 159, 56)
HSLhsl(46, 54%, 48%)
HSVhsv(46, 70%, 74%)
CMYKcmyk(0%, 15.9%, 70.4%, 25.9%)
CIE-LABlab(66.45, -0.08, 55.43)
CIE-LCHlch(66.45, 55.43, 90.09°)
OKLaboklab(71.08% -0.0053 0.1239)
OKLCHoklch(71.08% 0.124 92.4)
XYZxyz(34.1000, 35.9026, 8.8744)
Luminance0.3590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9F38 #3856BD
analogous
#BD5C38 #BD9F38 #98BD38
triadic
#BD9F38 #38BD9F #9F38BD
tetradic
#BD9F38 #38BD5C #3856BD #BD3898
square
#BD9F38 #38BD5C #3856BD #BD3898
split-complementary
#BD9F38 #3898BD #5C38BD
monochromatic
#5F501C #8E772A #BD9F38 #D0B762 #DECD91

Accessibility & contrast

On white

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

On black

8.18
#BD9F38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9F38
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9F38#FFFFFF#000000##000000
##BD9F381.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C2A
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#CC928A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bd9f38;
/* rgb */ color: rgb(189, 159, 56);
/* oklch */ color: oklch(71.1% 0.124 92.4);
Tailwind
colors: {
  custom: {
    50: '#d5bb75',
    500: '#bd9f38',
    950: '#000000',
  },
}
SCSS
$custom: #bd9f38;
$custom-light: #d5bb75;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9f38",
  "rgb": {
    "r": 189,
    "g": 159,
    "b": 56
  },
  "hsl": {
    "h": 46.466,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71079,
    "c": 0.124,
    "h": 92.4
  },
  "luminance": 0.35901
}

Semantic roles & 50–950 ramp

primary
#BD9F38
secondary
#8796C9
accent
#6BDE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BD9F38

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

Preview Lab → · Contrast checker → · Palette generator →

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