#BFAF47#BFAF47

#BFAF47 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.8% C 0.125 H 100.6°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#BFAF47
RGBrgb(191, 175, 71)
HSLhsl(52, 48%, 51%)
HSVhsv(52, 63%, 75%)
CMYKcmyk(0%, 8.4%, 62.8%, 25.1%)
CIE-LABlab(71.00, -6.82, 53.84)
CIE-LCHlch(71.00, 54.27, 97.22°)
OKLaboklab(74.77% -0.0229 0.1229)
OKLCHoklch(74.77% 0.125 100.6)
XYZxyz(37.9547, 42.1928, 12.1048)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF47 #4757BF
analogous
#BF7347 #BFAF47 #93BF47
triadic
#BFAF47 #47BFAF #AF47BF
tetradic
#BFAF47 #47BF73 #4757BF #BF4793
square
#BFAF47 #47BF73 #4757BF #BF4793
split-complementary
#BFAF47 #4793BF #7347BF
monochromatic
#685F24 #958834 #BFAF47 #CFC374 #DFD6A2

Accessibility & contrast

On white

2.23
#BFAF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#BFAF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF47
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF47#FFFFFF#000000##000000
##BFAF471.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3B
Deuteranopia (green-blind)
#C3B14D
Tritanopia (blue-blind)
#CDA399
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf47;
/* rgb */ color: rgb(191, 175, 71);
/* oklch */ color: oklch(74.8% 0.125 100.6);
Tailwind
colors: {
  custom: {
    50: '#d5c67f',
    500: '#bfaf47',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf47;
$custom-light: #d5c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf47",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 52,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7477,
    "c": 0.12501,
    "h": 100.6
  },
  "luminance": 0.42191
}

Semantic roles & 50–950 ramp

primary
#BFAF47
secondary
#969ECB
accent
#62D850
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFAF47

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

Preview Lab → · Contrast checker → · Palette generator →

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