#BFAC47#BFAC47

#BFAC47 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.1% C 0.122 H 98.7°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#BFAC47
RGBrgb(191, 172, 71)
HSLhsl(51, 48%, 51%)
HSVhsv(51, 63%, 75%)
CMYKcmyk(0%, 9.9%, 62.8%, 25.1%)
CIE-LABlab(70.20, -5.24, 52.97)
CIE-LCHlch(70.20, 53.23, 95.65°)
OKLaboklab(74.13% -0.0184 0.1211)
OKLCHoklch(74.13% 0.122 98.7)
XYZxyz(37.3773, 41.0380, 11.9123)
Luminance0.4104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC47 #475ABF
analogous
#BF7047 #BFAC47 #96BF47
triadic
#BFAC47 #47BFAC #AC47BF
tetradic
#BFAC47 #47BF70 #475ABF #BF4796
square
#BFAC47 #47BF70 #475ABF #BF4796
split-complementary
#BFAC47 #4796BF #7047BF
monochromatic
#685D24 #958634 #BFAC47 #CFC074 #DFD5A2

Accessibility & contrast

On white

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

On black

9.21
#BFAC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC47
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC47#FFFFFF#000000##000000
##BFAC471.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83B
Deuteranopia (green-blind)
#C1AF4C
Tritanopia (blue-blind)
#CDA096
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bfac47;
/* rgb */ color: rgb(191, 172, 71);
/* oklch */ color: oklch(74.1% 0.122 98.7);
Tailwind
colors: {
  custom: {
    50: '#d5c47e',
    500: '#bfac47',
    950: '#000000',
  },
}
SCSS
$custom: #bfac47;
$custom-light: #d5c47e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac47",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 71
  },
  "hsl": {
    "h": 50.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74135,
    "c": 0.12244,
    "h": 98.7
  },
  "luminance": 0.41036
}

Semantic roles & 50–950 ramp

primary
#BFAC47
secondary
#969FCB
accent
#65D850
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAC47

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

Preview Lab → · Contrast checker → · Palette generator →

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