#BD9B2F#BD9B2F

#BD9B2F is a light, vivid yellow. Relative luminance 0.345; OKLCH L 70.2% C 0.127 H 90.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#BD9B2F
RGBrgb(189, 155, 47)
HSLhsl(46, 60%, 46%)
HSVhsv(46, 75%, 74%)
CMYKcmyk(0%, 18%, 75.1%, 25.9%)
CIE-LABlab(65.33, 1.64, 57.91)
CIE-LCHlch(65.33, 57.93, 88.38°)
OKLaboklab(70.18% -0.0014 0.1274)
OKLCHoklch(70.18% 0.127 90.6)
XYZxyz(33.2226, 34.4688, 7.5921)
Luminance0.3447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9B2F #2F51BD
analogous
#BD542F #BD9B2F #98BD2F
triadic
#BD9B2F #2FBD9B #9B2FBD
tetradic
#BD9B2F #2FBD54 #2F51BD #BD2F98
square
#BD9B2F #2FBD54 #2F51BD #BD2F98
split-complementary
#BD9B2F #2F98BD #542FBD
monochromatic
#5B4B17 #8C7323 #BD9B2F #D5B655 #E1CB86

Accessibility & contrast

On white

2.66
#BD9B2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#BD9B2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9B2F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9B2F#FFFFFF#000000##000000
##BD9B2F1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991D
Deuteranopia (green-blind)
#B5A335
Tritanopia (blue-blind)
#CD8E86
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bd9b2f;
/* rgb */ color: rgb(189, 155, 47);
/* oklch */ color: oklch(70.2% 0.127 90.6);
Tailwind
colors: {
  custom: {
    50: '#d5b86f',
    500: '#bd9b2f',
    950: '#000000',
  },
}
SCSS
$custom: #bd9b2f;
$custom-light: #d5b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9b2f",
  "rgb": {
    "r": 189,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 45.634,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70181,
    "c": 0.12743,
    "h": 90.6
  },
  "luminance": 0.34467
}

Semantic roles & 50–950 ramp

primary
#BD9B2F
secondary
#7E90CA
accent
#6BE344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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