#BFAF48#BFAF48

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

Color values

HEX#BFAF48
RGBrgb(191, 175, 72)
HSLhsl(52, 48%, 52%)
HSVhsv(52, 62%, 75%)
CMYKcmyk(0%, 8.4%, 62.3%, 25.1%)
CIE-LABlab(71.01, -6.75, 53.40)
CIE-LCHlch(71.01, 53.83, 97.21°)
OKLaboklab(74.78% -0.0226 0.1221)
OKLCHoklch(74.78% 0.124 100.5)
XYZxyz(37.9870, 42.2058, 12.2752)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF48 #4858BF
analogous
#BF7448 #BFAF48 #94BF48
triadic
#BFAF48 #48BFAF #AF48BF
tetradic
#BFAF48 #48BF74 #4858BF #BF4894
square
#BFAF48 #48BF74 #4858BF #BF4894
split-complementary
#BFAF48 #4894BF #7448BF
monochromatic
#685F24 #968834 #BFAF48 #CFC375 #DFD7A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAF48#FFFFFF#000000##000000
##BFAF481.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfaf48;
/* rgb */ color: rgb(191, 175, 72);
/* oklch */ color: oklch(74.8% 0.124 100.5);
Tailwind
colors: {
  custom: {
    50: '#d5c67f',
    500: '#bfaf48',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf48;
$custom-light: #d5c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf48",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 51.933,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7478,
    "c": 0.12419,
    "h": 100.5
  },
  "luminance": 0.42204
}

Semantic roles & 50–950 ramp

primary
#BFAF48
secondary
#979ECC
accent
#62D850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFAF48

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

Preview Lab → · Contrast checker → · Palette generator →

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