#BFAF54#BFAF54

#BFAF54 is a light, moderate yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.114 H 99.5°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#BFAF54
RGBrgb(191, 175, 84)
HSLhsl(51, 46%, 54%)
HSVhsv(51, 56%, 75%)
CMYKcmyk(0%, 8.4%, 56%, 25.1%)
CIE-LABlab(71.13, -5.88, 47.99)
CIE-LCHlch(71.13, 48.35, 96.98°)
OKLaboklab(74.91% -0.0187 0.1121)
OKLCHoklch(74.91% 0.114 99.5)
XYZxyz(38.4174, 42.3779, 14.5419)
Luminance0.4238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF54 #5464BF
analogous
#BF7A54 #BFAF54 #9ABF54
triadic
#BFAF54 #54BFAF #AF54BF
tetradic
#BFAF54 #54BF7A #5464BF #BF549A
square
#BFAF54 #54BF7A #5464BF #BF549A
split-complementary
#BFAF54 #549ABF #7A54BF
monochromatic
#6F652A #9C8D3A #BFAF54 #D0C481 #E0D9AD

Accessibility & contrast

On white

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

On black

9.48
#BFAF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF54
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF54#FFFFFF#000000##000000
##BFAF541.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB4B
Deuteranopia (green-blind)
#C2B158
Tritanopia (blue-blind)
#CCA49B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf54;
/* rgb */ color: rgb(191, 175, 84);
/* oklch */ color: oklch(74.9% 0.114 99.5);
Tailwind
colors: {
  custom: {
    50: '#d5c687',
    500: '#bfaf54',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf54;
$custom-light: #d5c687;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf54",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 84
  },
  "hsl": {
    "h": 51.028,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74912,
    "c": 0.11361,
    "h": 99.5
  },
  "luminance": 0.42376
}

Semantic roles & 50–950 ramp

primary
#BFAF54
secondary
#A1A7CE
accent
#66D553
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #BFAF54

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

Preview Lab → · Contrast checker → · Palette generator →

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