#BFAF59#BFAF59

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

Color values

HEX#BFAF59
RGBrgb(191, 175, 89)
HSLhsl(51, 44%, 55%)
HSVhsv(51, 53%, 75%)
CMYKcmyk(0%, 8.4%, 53.4%, 25.1%)
CIE-LABlab(71.19, -5.47, 45.65)
CIE-LCHlch(71.19, 45.97, 96.83°)
OKLaboklab(74.97% -0.017 0.1075)
OKLCHoklch(74.97% 0.109 99)
XYZxyz(38.6203, 42.4591, 15.6104)
Luminance0.4246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF59 #5969BF
analogous
#BF7C59 #BFAF59 #9CBF59
triadic
#BFAF59 #59BFAF #AF59BF
tetradic
#BFAF59 #59BF7C #5969BF #BF599C
square
#BFAF59 #59BF7C #5969BF #BF599C
split-complementary
#BFAF59 #599CBF #7C59BF
monochromatic
#72672C #9E8F3D #BFAF59 #D0C485 #E1DAB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAF59#FFFFFF#000000##000000
##BFAF591.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)
#BDAB51
Deuteranopia (green-blind)
#C2B15D
Tritanopia (blue-blind)
#CCA49B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf59;
/* rgb */ color: rgb(191, 175, 89);
/* oklch */ color: oklch(75.0% 0.109 99.0);
Tailwind
colors: {
  custom: {
    50: '#d4c68a',
    500: '#bfaf59',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf59;
$custom-light: #d4c68a;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf59",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 89
  },
  "hsl": {
    "h": 50.588,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.74974,
    "c": 0.10882,
    "h": 99
  },
  "luminance": 0.42458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFAF59

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

Preview Lab → · Contrast checker → · Palette generator →

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