#BFAC51#BFAC51

#BFAC51 is a light, moderate yellow. Relative luminance 0.412; OKLCH L 74.2% C 0.114 H 97.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#BFAC51
RGBrgb(191, 172, 81)
HSLhsl(50, 46%, 53%)
HSVhsv(50, 58%, 75%)
CMYKcmyk(0%, 9.9%, 57.6%, 25.1%)
CIE-LABlab(70.30, -4.53, 48.47)
CIE-LCHlch(70.30, 48.68, 95.34°)
OKLaboklab(74.24% -0.0152 0.1127)
OKLCHoklch(74.24% 0.114 97.7)
XYZxyz(37.7250, 41.1771, 13.7438)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC51 #5164BF
analogous
#BF7551 #BFAC51 #9BBF51
triadic
#BFAC51 #51BFAC #AC51BF
tetradic
#BFAC51 #51BF75 #5164BF #BF519B
square
#BFAC51 #51BF75 #5164BF #BF519B
split-complementary
#BFAC51 #519BBF #7551BF
monochromatic
#6D6128 #9A8939 #BFAC51 #CFC17E #E0D7AA

Accessibility & contrast

On white

2.27
#BFAC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#BFAC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC51
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC51#FFFFFF#000000##000000
##BFAC511.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA848
Deuteranopia (green-blind)
#C0AF55
Tritanopia (blue-blind)
#CDA198
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bfac51;
/* rgb */ color: rgb(191, 172, 81);
/* oklch */ color: oklch(74.2% 0.114 97.7);
Tailwind
colors: {
  custom: {
    50: '#d5c485',
    500: '#bfac51',
    950: '#000000',
  },
}
SCSS
$custom: #bfac51;
$custom-light: #d5c485;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac51",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 81
  },
  "hsl": {
    "h": 49.636,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.74243,
    "c": 0.11375,
    "h": 97.7
  },
  "luminance": 0.41175
}

Semantic roles & 50–950 ramp

primary
#BFAC51
secondary
#9EA6CE
accent
#69D652
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #BFAC51

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

Preview Lab → · Contrast checker → · Palette generator →

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