#BFAC5D#BFAC5D

#BFAC5D is a light, moderate yellow. Relative luminance 0.414; OKLCH L 74.4% C 0.102 H 96.1°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#BFAC5D
RGBrgb(191, 172, 93)
HSLhsl(48, 43%, 56%)
HSVhsv(48, 51%, 75%)
CMYKcmyk(0%, 9.9%, 51.3%, 25.1%)
CIE-LABlab(70.44, -3.53, 42.78)
CIE-LCHlch(70.44, 42.92, 94.72°)
OKLaboklab(74.4% -0.0109 0.1016)
OKLCHoklch(74.4% 0.102 96.1)
XYZxyz(38.2154, 41.3733, 16.3267)
Luminance0.4137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC5D #5D70BF
analogous
#BF7B5D #BFAC5D #A1BF5D
triadic
#BFAC5D #5DBFAC #AC5DBF
tetradic
#BFAC5D #5DBF7B #5D70BF #BF5DA1
square
#BFAC5D #5DBF7B #5D70BF #BF5DA1
split-complementary
#BFAC5D #5DA1BF #7B5DBF
monochromatic
#74662E #A08D3F #BFAC5D #D0C289 #E2D9B5

Accessibility & contrast

On white

2.26
#BFAC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#BFAC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC5D
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC5D#FFFFFF#000000##000000
##BFAC5D1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA956
Deuteranopia (green-blind)
#BFAF60
Tritanopia (blue-blind)
#CCA29A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bfac5d;
/* rgb */ color: rgb(191, 172, 93);
/* oklch */ color: oklch(74.4% 0.102 96.1);
Tailwind
colors: {
  custom: {
    50: '#d4c48d',
    500: '#bfac5d',
    950: '#000000',
  },
}
SCSS
$custom: #bfac5d;
$custom-light: #d4c48d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac5d",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 93
  },
  "hsl": {
    "h": 48.367,
    "s": 43.363,
    "l": 55.686
  },
  "oklch": {
    "l": 0.74396,
    "c": 0.10218,
    "h": 96.1
  },
  "luminance": 0.41372
}

Semantic roles & 50–950 ramp

primary
#BFAC5D
secondary
#A8AFD0
accent
#6DD355
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BFAC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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