#BF9F38#BF9F38

#BF9F38 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.3% C 0.124 H 91.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#BF9F38
RGBrgb(191, 159, 56)
HSLhsl(46, 55%, 48%)
HSVhsv(46, 71%, 75%)
CMYKcmyk(0%, 16.8%, 70.7%, 25.1%)
CIE-LABlab(66.64, 0.79, 55.70)
CIE-LCHlch(66.64, 55.70, 89.18°)
OKLaboklab(71.28% -0.0029 0.1244)
OKLCHoklch(71.28% 0.124 91.3)
XYZxyz(34.5997, 36.1602, 8.8978)
Luminance0.3616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF9F38 #3858BF
analogous
#BF5B38 #BF9F38 #9BBF38
triadic
#BF9F38 #38BF9F #9F38BF
tetradic
#BF9F38 #38BF5B #3858BF #BF389B
square
#BF9F38 #38BF5B #3858BF #BF389B
split-complementary
#BF9F38 #389BBF #5B38BF
monochromatic
#60501C #90782A #BF9F38 #D1B763 #DFCD92

Accessibility & contrast

On white

2.55
#BF9F38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#BF9F38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF9F38
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF9F38#FFFFFF#000000##000000
##BF9F381.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D2A
Deuteranopia (green-blind)
#B8A63D
Tritanopia (blue-blind)
#CE928A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bf9f38;
/* rgb */ color: rgb(191, 159, 56);
/* oklch */ color: oklch(71.3% 0.124 91.3);
Tailwind
colors: {
  custom: {
    50: '#d6bb75',
    500: '#bf9f38',
    950: '#000000',
  },
}
SCSS
$custom: #bf9f38;
$custom-light: #d6bb75;
$custom-dark: #000000;
JSON
{
  "hex": "#bf9f38",
  "rgb": {
    "r": 191,
    "g": 159,
    "b": 56
  },
  "hsl": {
    "h": 45.778,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7128,
    "c": 0.12441,
    "h": 91.3
  },
  "luminance": 0.36158
}

Semantic roles & 50–950 ramp

primary
#BF9F38
secondary
#8998CA
accent
#6DDE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BF9F38

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

Preview Lab → · Contrast checker → · Palette generator →

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