#BF9A28#BF9A28

#BF9A28 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 70.1% C 0.131 H 89.6°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#BF9A28
RGBrgb(191, 154, 40)
HSLhsl(45, 65%, 45%)
HSVhsv(45, 79%, 75%)
CMYKcmyk(0%, 19.4%, 79.1%, 25.1%)
CIE-LABlab(65.23, 2.78, 60.42)
CIE-LCHlch(65.23, 60.48, 87.36°)
OKLaboklab(70.14% 0.001 0.1312)
OKLCHoklch(70.14% 0.131 89.6)
XYZxyz(33.4265, 34.3430, 6.8753)
Luminance0.3434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF9A28 #284DBF
analogous
#BF4E28 #BF9A28 #98BF28
triadic
#BF9A28 #28BF9A #9A28BF
tetradic
#BF9A28 #28BF4E #284DBF #BF2898
square
#BF9A28 #28BF4E #284DBF #BF2898
split-complementary
#BF9A28 #2898BF #4E28BF
monochromatic
#5A4813 #8C711D #BF9A28 #D9B64B #E4CB7E

Accessibility & contrast

On white

2.67
#BF9A28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#BF9A28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF9A28
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF9A28#FFFFFF#000000##000000
##BF9A281.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980F
Deuteranopia (green-blind)
#B5A32F
Tritanopia (blue-blind)
#CF8C84
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bf9a28;
/* rgb */ color: rgb(191, 154, 40);
/* oklch */ color: oklch(70.1% 0.131 89.6);
Tailwind
colors: {
  custom: {
    50: '#d7b76c',
    500: '#bf9a28',
    950: '#000000',
  },
}
SCSS
$custom: #bf9a28;
$custom-light: #d7b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#bf9a28",
  "rgb": {
    "r": 191,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 45.298,
    "s": 65.368,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70137,
    "c": 0.13122,
    "h": 89.6
  },
  "luminance": 0.34341
}

Semantic roles & 50–950 ramp

primary
#BF9A28
secondary
#778CCC
accent
#69E83F
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BF9A28

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

Preview Lab → · Contrast checker → · Palette generator →

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