#BFAC4D#BFAC4D

#BFAC4D is a light, moderate yellow. Relative luminance 0.411; OKLCH L 74.2% C 0.117 H 98.1°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#BFAC4D
RGBrgb(191, 172, 77)
HSLhsl(50, 47%, 53%)
HSVhsv(50, 60%, 75%)
CMYKcmyk(0%, 9.9%, 59.7%, 25.1%)
CIE-LABlab(70.26, -4.83, 50.30)
CIE-LCHlch(70.26, 50.53, 95.48°)
OKLaboklab(74.2% -0.0165 0.1162)
OKLCHoklch(74.2% 0.117 98.1)
XYZxyz(37.5794, 41.1189, 12.9770)
Luminance0.4112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC4D #4D60BF
analogous
#BF734D #BFAC4D #99BF4D
triadic
#BFAC4D #4DBFAC #AC4DBF
tetradic
#BFAC4D #4DBF73 #4D60BF #BF4D99
square
#BFAC4D #4DBF73 #4D60BF #BF4D99
split-complementary
#BFAC4D #4D99BF #734DBF
monochromatic
#6B6027 #988837 #BFAC4D #CFC17A #DFD6A7

Accessibility & contrast

On white

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

On black

9.22
#BFAC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC4D
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC4D#FFFFFF#000000##000000
##BFAC4D1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA843
Deuteranopia (green-blind)
#C0AF52
Tritanopia (blue-blind)
#CDA197
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bfac4d;
/* rgb */ color: rgb(191, 172, 77);
/* oklch */ color: oklch(74.2% 0.117 98.1);
Tailwind
colors: {
  custom: {
    50: '#d5c482',
    500: '#bfac4d',
    950: '#000000',
  },
}
SCSS
$custom: #bfac4d;
$custom-light: #d5c482;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac4d",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 77
  },
  "hsl": {
    "h": 50,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74198,
    "c": 0.11734,
    "h": 98.1
  },
  "luminance": 0.41117
}

Semantic roles & 50–950 ramp

primary
#BFAC4D
secondary
#9BA3CD
accent
#67D751
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #BFAC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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