#BF9D31#BF9D31

#BF9D31 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.8% C 0.128 H 90.7°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#BF9D31
RGBrgb(191, 157, 49)
HSLhsl(46, 59%, 47%)
HSVhsv(46, 74%, 75%)
CMYKcmyk(0%, 17.8%, 74.3%, 25.1%)
CIE-LABlab(66.07, 1.53, 57.93)
CIE-LCHlch(66.07, 57.95, 88.49°)
OKLaboklab(70.81% -0.0016 0.1278)
OKLCHoklch(70.81% 0.128 90.7)
XYZxyz(34.0991, 35.4142, 7.9447)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF9D31 #3153BF
analogous
#BF5631 #BF9D31 #9ABF31
triadic
#BF9D31 #31BF9D #9D31BF
tetradic
#BF9D31 #31BF56 #3153BF #BF319A
square
#BF9D31 #31BF56 #3153BF #BF319A
split-complementary
#BF9D31 #319ABF #5631BF
monochromatic
#5E4D18 #8E7525 #BF9D31 #D4B759 #E1CC8A

Accessibility & contrast

On white

2.60
#BF9D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#BF9D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF9D31
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF9D31#FFFFFF#000000##000000
##BF9D311.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B7A537
Tritanopia (blue-blind)
#CF9088
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bf9d31;
/* rgb */ color: rgb(191, 157, 49);
/* oklch */ color: oklch(70.8% 0.128 90.7);
Tailwind
colors: {
  custom: {
    50: '#d6b971',
    500: '#bf9d31',
    950: '#000000',
  },
}
SCSS
$custom: #bf9d31;
$custom-light: #d6b971;
$custom-dark: #000000;
JSON
{
  "hex": "#bf9d31",
  "rgb": {
    "r": 191,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 45.634,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70813,
    "c": 0.12777,
    "h": 90.7
  },
  "luminance": 0.35412
}

Semantic roles & 50–950 ramp

primary
#BF9D31
secondary
#8193CB
accent
#6BE245
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BF9D31

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

Preview Lab → · Contrast checker → · Palette generator →

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