#BFAF5B#BFAF5B

#BFAF5B is a light, moderate yellow. Relative luminance 0.425; OKLCH L 75.0% C 0.107 H 98.7°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#BFAF5B
RGBrgb(191, 175, 91)
HSLhsl(50, 44%, 55%)
HSVhsv(50, 52%, 75%)
CMYKcmyk(0%, 8.4%, 52.4%, 25.1%)
CIE-LABlab(71.21, -5.30, 44.69)
CIE-LCHlch(71.21, 45.01, 96.76°)
OKLaboklab(75% -0.0162 0.1056)
OKLCHoklch(75% 0.107 98.7)
XYZxyz(38.7054, 42.4931, 16.0587)
Luminance0.4249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF5B #5B6BBF
analogous
#BF7D5B #BFAF5B #9DBF5B
triadic
#BFAF5B #5BBFAF #AF5BBF
tetradic
#BFAF5B #5BBF7D #5B6BBF #BF5B9D
square
#BFAF5B #5BBF7D #5B6BBF #BF5B9D
split-complementary
#BFAF5B #5B9DBF #7D5BBF
monochromatic
#73682D #9F8F3E #BFAF5B #D0C487 #E1DAB3

Accessibility & contrast

On white

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

On black

9.50
#BFAF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF5B
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF5B#FFFFFF#000000##000000
##BFAF5B1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB53
Deuteranopia (green-blind)
#C2B15F
Tritanopia (blue-blind)
#CCA49C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf5b;
/* rgb */ color: rgb(191, 175, 91);
/* oklch */ color: oklch(75.0% 0.107 98.7);
Tailwind
colors: {
  custom: {
    50: '#d4c68b',
    500: '#bfaf5b',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf5b;
$custom-light: #d4c68b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf5b",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 91
  },
  "hsl": {
    "h": 50.4,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.75,
    "c": 0.10685,
    "h": 98.7
  },
  "luminance": 0.42492
}

Semantic roles & 50–950 ramp

primary
#BFAF5B
secondary
#A6ADD0
accent
#69D454
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BFAF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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