#BF9C28#BF9C28

#BF9C28 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.5% C 0.132 H 90.9°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#BF9C28
RGBrgb(191, 156, 40)
HSLhsl(46, 65%, 45%)
HSVhsv(46, 79%, 75%)
CMYKcmyk(0%, 18.3%, 79.1%, 25.1%)
CIE-LABlab(65.76, 1.70, 60.89)
CIE-LCHlch(65.76, 60.91, 88.40°)
OKLaboklab(70.55% -0.002 0.1322)
OKLCHoklch(70.55% 0.132 90.9)
XYZxyz(33.7593, 35.0087, 6.9863)
Luminance0.3501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF9C28 #284BBF
analogous
#BF5128 #BF9C28 #96BF28
triadic
#BF9C28 #28BF9C #9C28BF
tetradic
#BF9C28 #28BF51 #284BBF #BF2896
square
#BF9C28 #28BF51 #284BBF #BF2896
split-complementary
#BF9C28 #2896BF #5128BF
monochromatic
#5A4913 #8C731D #BF9C28 #D9B84B #E4CC7E

Accessibility & contrast

On white

2.62
#BF9C28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#BF9C28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF9C28
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF9C28#FFFFFF#000000##000000
##BF9C281.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0E
Deuteranopia (green-blind)
#B7A42F
Tritanopia (blue-blind)
#CF8E86
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bf9c28;
/* rgb */ color: rgb(191, 156, 40);
/* oklch */ color: oklch(70.5% 0.132 90.9);
Tailwind
colors: {
  custom: {
    50: '#d7b86c',
    500: '#bf9c28',
    950: '#000000',
  },
}
SCSS
$custom: #bf9c28;
$custom-light: #d7b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#bf9c28",
  "rgb": {
    "r": 191,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 46.093,
    "s": 65.368,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70548,
    "c": 0.13226,
    "h": 90.9
  },
  "luminance": 0.35007
}

Semantic roles & 50–950 ramp

primary
#BF9C28
secondary
#778ACC
accent
#67E83F
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BF9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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