#BFAF50#BFAF50

#BFAF50 is a light, moderate yellow. Relative luminance 0.423; OKLCH L 74.9% C 0.117 H 99.9°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#BFAF50
RGBrgb(191, 175, 80)
HSLhsl(51, 46%, 53%)
HSVhsv(51, 58%, 75%)
CMYKcmyk(0%, 8.4%, 58.1%, 25.1%)
CIE-LABlab(71.09, -6.19, 49.84)
CIE-LCHlch(71.09, 50.22, 97.08°)
OKLaboklab(74.87% -0.0201 0.1156)
OKLCHoklch(74.87% 0.117 99.9)
XYZxyz(38.2652, 42.3170, 13.7403)
Luminance0.4232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF50 #5060BF
analogous
#BF7750 #BFAF50 #98BF50
triadic
#BFAF50 #50BFAF #AF50BF
tetradic
#BFAF50 #50BF77 #5060BF #BF5098
square
#BFAF50 #50BF77 #5060BF #BF5098
split-complementary
#BFAF50 #5098BF #7750BF
monochromatic
#6D6328 #9A8C38 #BFAF50 #CFC37D #E0D8AA

Accessibility & contrast

On white

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

On black

9.46
#BFAF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF50
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF50#FFFFFF#000000##000000
##BFAF501.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB46
Deuteranopia (green-blind)
#C2B155
Tritanopia (blue-blind)
#CCA49A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf50;
/* rgb */ color: rgb(191, 175, 80);
/* oklch */ color: oklch(74.9% 0.117 99.9);
Tailwind
colors: {
  custom: {
    50: '#d5c684',
    500: '#bfaf50',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf50;
$custom-light: #d5c684;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf50",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 80
  },
  "hsl": {
    "h": 51.351,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.74865,
    "c": 0.11729,
    "h": 99.9
  },
  "luminance": 0.42315
}

Semantic roles & 50–950 ramp

primary
#BFAF50
secondary
#9DA4CD
accent
#65D652
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #BFAF50

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

Preview Lab → · Contrast checker → · Palette generator →

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