#BFAF5A#BFAF5A

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

Color values

HEX#BFAF5A
RGBrgb(191, 175, 90)
HSLhsl(50, 44%, 55%)
HSVhsv(50, 53%, 75%)
CMYKcmyk(0%, 8.4%, 52.9%, 25.1%)
CIE-LABlab(71.20, -5.38, 45.17)
CIE-LCHlch(71.20, 45.49, 96.79°)
OKLaboklab(74.99% -0.0166 0.1066)
OKLCHoklch(74.99% 0.108 98.9)
XYZxyz(38.6626, 42.4760, 15.8330)
Luminance0.4247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF5A #5A6ABF
analogous
#BF7C5A #BFAF5A #9DBF5A
triadic
#BFAF5A #5ABFAF #AF5ABF
tetradic
#BFAF5A #5ABF7C #5A6ABF #BF5A9D
square
#BFAF5A #5ABF7C #5A6ABF #BF5A9D
split-complementary
#BFAF5A #5A9DBF #7C5ABF
monochromatic
#72672C #9E8F3D #BFAF5A #D0C486 #E1DAB2

Accessibility & contrast

On white

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

On black

9.49
#BFAF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF5A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF5A#FFFFFF#000000##000000
##BFAF5A1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfaf5a;
/* rgb */ color: rgb(191, 175, 90);
/* oklch */ color: oklch(75.0% 0.108 98.9);
Tailwind
colors: {
  custom: {
    50: '#d4c68b',
    500: '#bfaf5a',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf5a;
$custom-light: #d4c68b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf5a",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 90
  },
  "hsl": {
    "h": 50.495,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.74987,
    "c": 0.10784,
    "h": 98.9
  },
  "luminance": 0.42474
}

Semantic roles & 50–950 ramp

primary
#BFAF5A
secondary
#A5ACD0
accent
#68D454
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BFAF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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