#BFAC45#BFAC45

#BFAC45 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.1% C 0.124 H 98.8°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#BFAC45
RGBrgb(191, 172, 69)
HSLhsl(51, 49%, 51%)
HSVhsv(51, 64%, 75%)
CMYKcmyk(0%, 9.9%, 63.9%, 25.1%)
CIE-LABlab(70.18, -5.37, 53.84)
CIE-LCHlch(70.18, 54.11, 95.70°)
OKLaboklab(74.11% -0.019 0.1226)
OKLCHoklch(74.11% 0.124 98.8)
XYZxyz(37.3141, 41.0128, 11.5798)
Luminance0.4101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC45 #4558BF
analogous
#BF6F45 #BFAC45 #95BF45
triadic
#BFAC45 #45BFAC #AC45BF
tetradic
#BFAC45 #45BF6F #4558BF #BF4595
square
#BFAC45 #45BF6F #4558BF #BF4595
split-complementary
#BFAC45 #4595BF #6F45BF
monochromatic
#665C23 #948533 #BFAC45 #CFC073 #DED5A0

Accessibility & contrast

On white

2.28
#BFAC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#BFAC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC45
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC45#FFFFFF#000000##000000
##BFAC451.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA839
Deuteranopia (green-blind)
#C1AF4A
Tritanopia (blue-blind)
#CDA096
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bfac45;
/* rgb */ color: rgb(191, 172, 69);
/* oklch */ color: oklch(74.1% 0.124 98.8);
Tailwind
colors: {
  custom: {
    50: '#d5c47d',
    500: '#bfac45',
    950: '#000000',
  },
}
SCSS
$custom: #bfac45;
$custom-light: #d5c47d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac45",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 69
  },
  "hsl": {
    "h": 50.656,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74115,
    "c": 0.12407,
    "h": 98.8
  },
  "luminance": 0.41011
}

Semantic roles & 50–950 ramp

primary
#BFAC45
secondary
#959DCB
accent
#65D84F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAC45

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

Preview Lab → · Contrast checker → · Palette generator →

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