#BFAF56#BFAF56

#BFAF56 is a light, moderate yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.112 H 99.3°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#BFAF56
RGBrgb(191, 175, 86)
HSLhsl(51, 45%, 54%)
HSVhsv(51, 55%, 75%)
CMYKcmyk(0%, 8.4%, 55%, 25.1%)
CIE-LABlab(71.15, -5.72, 47.06)
CIE-LCHlch(71.15, 47.41, 96.93°)
OKLaboklab(74.94% -0.018 0.1103)
OKLCHoklch(74.94% 0.112 99.3)
XYZxyz(38.4969, 42.4097, 14.9604)
Luminance0.4241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF56 #5666BF
analogous
#BF7B56 #BFAF56 #9BBF56
triadic
#BFAF56 #56BFAF #AF56BF
tetradic
#BFAF56 #56BF7B #5666BF #BF569B
square
#BFAF56 #56BF7B #5666BF #BF569B
split-complementary
#BFAF56 #569BBF #7B56BF
monochromatic
#70662A #9D8E3B #BFAF56 #D0C482 #E1D9AF

Accessibility & contrast

On white

2.21
#BFAF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#BFAF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF56
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF56#FFFFFF#000000##000000
##BFAF561.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB4E
Deuteranopia (green-blind)
#C2B15A
Tritanopia (blue-blind)
#CCA49B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf56;
/* rgb */ color: rgb(191, 175, 86);
/* oklch */ color: oklch(74.9% 0.112 99.3);
Tailwind
colors: {
  custom: {
    50: '#d5c688',
    500: '#bfaf56',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf56;
$custom-light: #d5c688;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf56",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 86
  },
  "hsl": {
    "h": 50.857,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.74936,
    "c": 0.11172,
    "h": 99.3
  },
  "luminance": 0.42408
}

Semantic roles & 50–950 ramp

primary
#BFAF56
secondary
#A2A9CF
accent
#67D553
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #BFAF56

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

Preview Lab → · Contrast checker → · Palette generator →

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