#BF9F31#BF9F31

#BF9F31 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.2% C 0.129 H 92.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#BF9F31
RGBrgb(191, 159, 49)
HSLhsl(46, 59%, 47%)
HSVhsv(46, 74%, 75%)
CMYKcmyk(0%, 16.8%, 74.3%, 25.1%)
CIE-LABlab(66.59, 0.45, 58.43)
CIE-LCHlch(66.59, 58.43, 89.55°)
OKLaboklab(71.23% -0.0047 0.1288)
OKLCHoklch(71.23% 0.129 92.1)
XYZxyz(34.4403, 36.0965, 8.0584)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF9F31 #3151BF
analogous
#BF5831 #BF9F31 #98BF31
triadic
#BF9F31 #31BF9F #9F31BF
tetradic
#BF9F31 #31BF58 #3151BF #BF3198
square
#BF9F31 #31BF58 #3151BF #BF3198
split-complementary
#BF9F31 #3198BF #5831BF
monochromatic
#5E4E18 #8E7625 #BF9F31 #D4B959 #E1CD8A

Accessibility & contrast

On white

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

On black

8.22
#BF9F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF9F31
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF9F31#FFFFFF#000000##000000
##BF9F311.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1F
Deuteranopia (green-blind)
#B9A637
Tritanopia (blue-blind)
#CF9289
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bf9f31;
/* rgb */ color: rgb(191, 159, 49);
/* oklch */ color: oklch(71.2% 0.129 92.1);
Tailwind
colors: {
  custom: {
    50: '#d6bb71',
    500: '#bf9f31',
    950: '#000000',
  },
}
SCSS
$custom: #bf9f31;
$custom-light: #d6bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#bf9f31",
  "rgb": {
    "r": 191,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 46.479,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71226,
    "c": 0.12892,
    "h": 92.1
  },
  "luminance": 0.36094
}

Semantic roles & 50–950 ramp

primary
#BF9F31
secondary
#8192CB
accent
#69E245
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BF9F31

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

Preview Lab → · Contrast checker → · Palette generator →

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