#BFAF5C#BFAF5C

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

Color values

HEX#BFAF5C
RGBrgb(191, 175, 92)
HSLhsl(50, 44%, 55%)
HSVhsv(50, 52%, 75%)
CMYKcmyk(0%, 8.4%, 51.8%, 25.1%)
CIE-LABlab(71.22, -5.21, 44.21)
CIE-LCHlch(71.22, 44.52, 96.72°)
OKLaboklab(75.01% -0.0159 0.1047)
OKLCHoklch(75.01% 0.106 98.6)
XYZxyz(38.7488, 42.5105, 16.2874)
Luminance0.4251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF5C #5C6CBF
analogous
#BF7D5C #BFAF5C #9DBF5C
triadic
#BFAF5C #5CBFAF #AF5CBF
tetradic
#BFAF5C #5CBF7D #5C6CBF #BF5C9D
square
#BFAF5C #5CBF7D #5C6CBF #BF5C9D
split-complementary
#BFAF5C #5C9DBF #7D5CBF
monochromatic
#73682D #9F903F #BFAF5C #D0C588 #E2DAB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAF5C#FFFFFF#000000##000000
##BFAF5C1.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)
#BDAB55
Deuteranopia (green-blind)
#C1B160
Tritanopia (blue-blind)
#CCA59C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf5c;
/* rgb */ color: rgb(191, 175, 92);
/* oklch */ color: oklch(75.0% 0.106 98.6);
Tailwind
colors: {
  custom: {
    50: '#d4c68c',
    500: '#bfaf5c',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf5c;
$custom-light: #d4c68c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf5c",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 92
  },
  "hsl": {
    "h": 50.303,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.75013,
    "c": 0.10585,
    "h": 98.6
  },
  "luminance": 0.42509
}

Semantic roles & 50–950 ramp

primary
#BFAF5C
secondary
#A7ADD0
accent
#69D354
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BFAF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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