#BF9D2F#BF9D2F

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

Color values

HEX#BF9D2F
RGBrgb(191, 157, 47)
HSLhsl(46, 61%, 47%)
HSVhsv(46, 75%, 75%)
CMYKcmyk(0%, 17.8%, 75.4%, 25.1%)
CIE-LABlab(66.06, 1.44, 58.67)
CIE-LCHlch(66.06, 58.69, 88.59°)
OKLaboklab(70.8% -0.0021 0.129)
OKLCHoklch(70.8% 0.129 90.9)
XYZxyz(34.0579, 35.3977, 7.7273)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF9D2F #2F51BF
analogous
#BF552F #BF9D2F #99BF2F
triadic
#BF9D2F #2FBF9D #9D2FBF
tetradic
#BF9D2F #2FBF55 #2F51BF #BF2F99
square
#BF9D2F #2FBF55 #2F51BF #BF2F99
split-complementary
#BF9D2F #2F99BF #552FBF
monochromatic
#5D4C17 #8E7523 #BF9D2F #D5B756 #E1CC87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BF9D2F#FFFFFF#000000##000000
##BF9D2F1.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)
#AF9B1C
Deuteranopia (green-blind)
#B7A535
Tritanopia (blue-blind)
#CF9087
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bf9d2f;
/* rgb */ color: rgb(191, 157, 47);
/* oklch */ color: oklch(70.8% 0.129 90.9);
Tailwind
colors: {
  custom: {
    50: '#d7b96f',
    500: '#bf9d2f',
    950: '#000000',
  },
}
SCSS
$custom: #bf9d2f;
$custom-light: #d7b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#bf9d2f",
  "rgb": {
    "r": 191,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 45.833,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70799,
    "c": 0.12897,
    "h": 90.9
  },
  "luminance": 0.35396
}

Semantic roles & 50–950 ramp

primary
#BF9D2F
secondary
#7F91CB
accent
#6AE444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BF9D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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