#BFAF49#BFAF49

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

Color values

HEX#BFAF49
RGBrgb(191, 175, 73)
HSLhsl(52, 48%, 52%)
HSVhsv(52, 62%, 75%)
CMYKcmyk(0%, 8.4%, 61.8%, 25.1%)
CIE-LABlab(71.02, -6.69, 52.97)
CIE-LCHlch(71.02, 53.39, 97.19°)
OKLaboklab(74.79% -0.0223 0.1213)
OKLCHoklch(74.79% 0.123 100.4)
XYZxyz(38.0199, 42.2189, 12.4484)
Luminance0.4222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF49 #4959BF
analogous
#BF7449 #BFAF49 #94BF49
triadic
#BFAF49 #49BFAF #AF49BF
tetradic
#BFAF49 #49BF74 #4959BF #BF4994
square
#BFAF49 #49BF74 #4959BF #BF4994
split-complementary
#BFAF49 #4994BF #7449BF
monochromatic
#696025 #968935 #BFAF49 #CFC376 #DFD7A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAF49#FFFFFF#000000##000000
##BFAF491.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)
#BEAA3E
Deuteranopia (green-blind)
#C3B14E
Tritanopia (blue-blind)
#CDA399
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf49;
/* rgb */ color: rgb(191, 175, 73);
/* oklch */ color: oklch(74.8% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#d5c680',
    500: '#bfaf49',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf49;
$custom-light: #d5c680;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf49",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 73
  },
  "hsl": {
    "h": 51.864,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7479,
    "c": 0.12337,
    "h": 100.4
  },
  "luminance": 0.42217
}

Semantic roles & 50–950 ramp

primary
#BFAF49
secondary
#989FCC
accent
#63D850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFAF49

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

Preview Lab → · Contrast checker → · Palette generator →

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