#BD9F2F#BD9F2F

#BD9F2F is a light, vivid yellow. Relative luminance 0.358; OKLCH L 71.0% C 0.130 H 93.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#BD9F2F
RGBrgb(189, 159, 47)
HSLhsl(47, 60%, 46%)
HSVhsv(47, 75%, 74%)
CMYKcmyk(0%, 15.9%, 75.1%, 25.9%)
CIE-LABlab(66.38, -0.52, 58.92)
CIE-LCHlch(66.38, 58.92, 90.50°)
OKLaboklab(71.01% -0.0076 0.1296)
OKLCHoklch(71.01% 0.13 93.3)
XYZxyz(33.8994, 35.8223, 7.8176)
Luminance0.3582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9F2F #2F4DBD
analogous
#BD582F #BD9F2F #94BD2F
triadic
#BD9F2F #2FBD9F #9F2FBD
tetradic
#BD9F2F #2FBD58 #2F4DBD #BD2F94
square
#BD9F2F #2FBD58 #2F4DBD #BD2F94
split-complementary
#BD9F2F #2F94BD #582FBD
monochromatic
#5B4D17 #8C7623 #BD9F2F #D5BA55 #E1CE86

Accessibility & contrast

On white

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

On black

8.16
#BD9F2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9F2F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9F2F#FFFFFF#000000##000000
##BD9F2F1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1B
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#CD9289
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bd9f2f;
/* rgb */ color: rgb(189, 159, 47);
/* oklch */ color: oklch(71.0% 0.130 93.3);
Tailwind
colors: {
  custom: {
    50: '#d5bb70',
    500: '#bd9f2f',
    950: '#000000',
  },
}
SCSS
$custom: #bd9f2f;
$custom-light: #d5bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9f2f",
  "rgb": {
    "r": 189,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 47.324,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71011,
    "c": 0.12978,
    "h": 93.3
  },
  "luminance": 0.3582
}

Semantic roles & 50–950 ramp

primary
#BD9F2F
secondary
#7E8ECA
accent
#66E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BD9F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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