#BFAF57#BFAF57

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

Color values

HEX#BFAF57
RGBrgb(191, 175, 87)
HSLhsl(51, 45%, 55%)
HSVhsv(51, 54%, 75%)
CMYKcmyk(0%, 8.4%, 54.5%, 25.1%)
CIE-LABlab(71.16, -5.63, 46.59)
CIE-LCHlch(71.16, 46.93, 96.90°)
OKLaboklab(74.95% -0.0177 0.1093)
OKLCHoklch(74.95% 0.111 99.2)
XYZxyz(38.5374, 42.4259, 15.1740)
Luminance0.4242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF57 #5767BF
analogous
#BF7B57 #BFAF57 #9BBF57
triadic
#BFAF57 #57BFAF #AF57BF
tetradic
#BFAF57 #57BF7B #5767BF #BF579B
square
#BFAF57 #57BF7B #5767BF #BF579B
split-complementary
#BFAF57 #579BBF #7B57BF
monochromatic
#71662B #9D8E3C #BFAF57 #D0C483 #E1D9B0

Accessibility & contrast

On white

2.21
#BFAF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAF57#FFFFFF#000000##000000
##BFAF571.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfaf57;
/* rgb */ color: rgb(191, 175, 87);
/* oklch */ color: oklch(74.9% 0.111 99.2);
Tailwind
colors: {
  custom: {
    50: '#d5c689',
    500: '#bfaf57',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf57;
$custom-light: #d5c689;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf57",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 87
  },
  "hsl": {
    "h": 50.769,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.74949,
    "c": 0.11076,
    "h": 99.2
  },
  "luminance": 0.42424
}

Semantic roles & 50–950 ramp

primary
#BFAF57
secondary
#A3AACF
accent
#67D553
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BFAF57

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

Preview Lab → · Contrast checker → · Palette generator →

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