#BFAF41#BFAF41

#BFAF41 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.7% C 0.130 H 101.0°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#BFAF41
RGBrgb(191, 175, 65)
HSLhsl(52, 50%, 50%)
HSVhsv(52, 66%, 75%)
CMYKcmyk(0%, 8.4%, 66%, 25.1%)
CIE-LABlab(70.95, -7.20, 56.38)
CIE-LCHlch(70.95, 56.83, 97.27°)
OKLaboklab(74.71% -0.0247 0.1274)
OKLCHoklch(74.71% 0.13 101)
XYZxyz(37.7715, 42.1196, 11.1403)
Luminance0.4212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF41 #4151BF
analogous
#BF7041 #BFAF41 #90BF41
triadic
#BFAF41 #41BFAF #AF41BF
tetradic
#BFAF41 #41BF70 #4151BF #BF4190
square
#BFAF41 #41BF70 #4151BF #BF4190
split-complementary
#BFAF41 #4190BF #7041BF
monochromatic
#645C22 #928531 #BFAF41 #CEC26F #DED69D

Accessibility & contrast

On white

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

On black

9.42
#BFAF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF41
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF41#FFFFFF#000000##000000
##BFAF411.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA33
Deuteranopia (green-blind)
#C3B047
Tritanopia (blue-blind)
#CDA398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf41;
/* rgb */ color: rgb(191, 175, 65);
/* oklch */ color: oklch(74.7% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#d5c67b',
    500: '#bfaf41',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf41;
$custom-light: #d5c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf41",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 52.381,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74714,
    "c": 0.12972,
    "h": 101
  },
  "luminance": 0.42118
}

Semantic roles & 50–950 ramp

primary
#BFAF41
secondary
#9299CA
accent
#60D94F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFAF41

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

Preview Lab → · Contrast checker → · Palette generator →

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