#BFAF51#BFAF51

#BFAF51 is a light, moderate yellow. Relative luminance 0.423; OKLCH L 74.9% C 0.116 H 99.8°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#BFAF51
RGBrgb(191, 175, 81)
HSLhsl(51, 46%, 53%)
HSVhsv(51, 58%, 75%)
CMYKcmyk(0%, 8.4%, 57.6%, 25.1%)
CIE-LABlab(71.10, -6.11, 49.38)
CIE-LCHlch(71.10, 49.76, 97.05°)
OKLaboklab(74.88% -0.0197 0.1147)
OKLCHoklch(74.88% 0.116 99.8)
XYZxyz(38.3024, 42.3319, 13.9363)
Luminance0.4233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF51 #5161BF
analogous
#BF7851 #BFAF51 #98BF51
triadic
#BFAF51 #51BFAF #AF51BF
tetradic
#BFAF51 #51BF78 #5161BF #BF5198
square
#BFAF51 #51BF78 #5161BF #BF5198
split-complementary
#BFAF51 #5198BF #7851BF
monochromatic
#6D6328 #9A8C39 #BFAF51 #CFC47E #E0D8AA

Accessibility & contrast

On white

2.22
#BFAF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#BFAF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF51
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF51#FFFFFF#000000##000000
##BFAF511.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB48
Deuteranopia (green-blind)
#C2B156
Tritanopia (blue-blind)
#CCA49A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf51;
/* rgb */ color: rgb(191, 175, 81);
/* oklch */ color: oklch(74.9% 0.116 99.8);
Tailwind
colors: {
  custom: {
    50: '#d5c685',
    500: '#bfaf51',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf51;
$custom-light: #d5c685;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf51",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 81
  },
  "hsl": {
    "h": 51.273,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.74877,
    "c": 0.11638,
    "h": 99.8
  },
  "luminance": 0.4233
}

Semantic roles & 50–950 ramp

primary
#BFAF51
secondary
#9EA5CE
accent
#65D652
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #BFAF51

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

Preview Lab → · Contrast checker → · Palette generator →

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