#BFAF36#BFAF36

#BFAF36 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.6% C 0.137 H 101.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#BFAF36
RGBrgb(191, 175, 54)
HSLhsl(53, 56%, 48%)
HSVhsv(53, 72%, 75%)
CMYKcmyk(0%, 8.4%, 71.7%, 25.1%)
CIE-LABlab(70.87, -7.79, 60.70)
CIE-LCHlch(70.87, 61.20, 97.31°)
OKLaboklab(74.63% -0.0276 0.1346)
OKLCHoklch(74.63% 0.137 101.6)
XYZxyz(37.4834, 42.0043, 9.6226)
Luminance0.4200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF36 #3646BF
analogous
#BF6B36 #BFAF36 #8ABF36
triadic
#BFAF36 #36BFAF #AF36BF
tetradic
#BFAF36 #36BF6B #3646BF #BF368A
square
#BFAF36 #36BF6B #3646BF #BF368A
split-complementary
#BFAF36 #368ABF #6B36BF
monochromatic
#60581B #8F8329 #BFAF36 #D2C560 #E0D690

Accessibility & contrast

On white

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

On black

9.40
#BFAF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF36
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF36#FFFFFF#000000##000000
##BFAF361.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA22
Deuteranopia (green-blind)
#C4B03E
Tritanopia (blue-blind)
#CEA297
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bfaf36;
/* rgb */ color: rgb(191, 175, 54);
/* oklch */ color: oklch(74.6% 0.137 101.6);
Tailwind
colors: {
  custom: {
    50: '#d6c675',
    500: '#bfaf36',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf36;
$custom-light: #d6c675;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf36",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 52.993,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74626,
    "c": 0.13739,
    "h": 101.6
  },
  "luminance": 0.42003
}

Semantic roles & 50–950 ramp

primary
#BFAF36
secondary
#878ECA
accent
#5ADF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BFAF36

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

Preview Lab → · Contrast checker → · Palette generator →

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