#BF9B28#BF9B28

#BF9B28 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.3% C 0.132 H 90.2°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#BF9B28
RGBrgb(191, 155, 40)
HSLhsl(46, 65%, 45%)
HSVhsv(46, 79%, 75%)
CMYKcmyk(0%, 18.8%, 79.1%, 25.1%)
CIE-LABlab(65.49, 2.24, 60.65)
CIE-LCHlch(65.49, 60.69, 87.88°)
OKLaboklab(70.34% -0.0005 0.1317)
OKLCHoklch(70.34% 0.132 90.2)
XYZxyz(33.5922, 34.6744, 6.9306)
Luminance0.3467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF9B28 #284CBF
analogous
#BF4F28 #BF9B28 #98BF28
triadic
#BF9B28 #28BF9B #9B28BF
tetradic
#BF9B28 #28BF4F #284CBF #BF2898
square
#BF9B28 #28BF4F #284CBF #BF2898
split-complementary
#BF9B28 #2898BF #4F28BF
monochromatic
#5A4913 #8C721D #BF9B28 #D9B74B #E4CB7E

Accessibility & contrast

On white

2.65
#BF9B28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#BF9B28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF9B28
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF9B28#FFFFFF#000000##000000
##BF9B281.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990E
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#CF8D85
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bf9b28;
/* rgb */ color: rgb(191, 155, 40);
/* oklch */ color: oklch(70.3% 0.132 90.2);
Tailwind
colors: {
  custom: {
    50: '#d7b86c',
    500: '#bf9b28',
    950: '#000000',
  },
}
SCSS
$custom: #bf9b28;
$custom-light: #d7b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#bf9b28",
  "rgb": {
    "r": 191,
    "g": 155,
    "b": 40
  },
  "hsl": {
    "h": 45.695,
    "s": 65.368,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70342,
    "c": 0.13173,
    "h": 90.2
  },
  "luminance": 0.34672
}

Semantic roles & 50–950 ramp

primary
#BF9B28
secondary
#778BCC
accent
#68E83F
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BF9B28

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

Preview Lab → · Contrast checker → · Palette generator →

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