#BD9F40#BD9F40

#BD9F40 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.2% C 0.118 H 91.5°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#BD9F40
RGBrgb(189, 159, 64)
HSLhsl(46, 49%, 50%)
HSVhsv(46, 66%, 74%)
CMYKcmyk(0%, 15.9%, 66.1%, 25.9%)
CIE-LABlab(66.51, 0.37, 52.06)
CIE-LCHlch(66.51, 52.06, 89.59°)
OKLaboklab(71.15% -0.003 0.1181)
OKLCHoklch(71.15% 0.118 91.5)
XYZxyz(34.3115, 35.9872, 9.9885)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9F40 #405EBD
analogous
#BD6140 #BD9F40 #9DBD40
triadic
#BD9F40 #40BD9F #9F40BD
tetradic
#BD9F40 #40BD61 #405EBD #BD409D
square
#BD9F40 #40BD61 #405EBD #BD409D
split-complementary
#BD9F40 #409DBD #6140BD
monochromatic
#625221 #8F7931 #BD9F40 #CDB66D #DDCD9A

Accessibility & contrast

On white

2.56
#BD9F40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#BD9F40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9F40
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9F40#FFFFFF#000000##000000
##BD9F401.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D35
Deuteranopia (green-blind)
#B7A544
Tritanopia (blue-blind)
#CC938B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bd9f40;
/* rgb */ color: rgb(189, 159, 64);
/* oklch */ color: oklch(71.2% 0.118 91.5);
Tailwind
colors: {
  custom: {
    50: '#d4bb79',
    500: '#bd9f40',
    950: '#000000',
  },
}
SCSS
$custom: #bd9f40;
$custom-light: #d4bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9f40",
  "rgb": {
    "r": 189,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 45.6,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71151,
    "c": 0.11815,
    "h": 91.5
  },
  "luminance": 0.35985
}

Semantic roles & 50–950 ramp

primary
#BD9F40
secondary
#909EC9
accent
#70D94F
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BD9F40

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

Preview Lab → · Contrast checker → · Palette generator →

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