#BFAF58#BFAF58

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

Color values

HEX#BFAF58
RGBrgb(191, 175, 88)
HSLhsl(51, 45%, 55%)
HSVhsv(51, 54%, 75%)
CMYKcmyk(0%, 8.4%, 53.9%, 25.1%)
CIE-LABlab(71.17, -5.55, 46.12)
CIE-LCHlch(71.17, 46.45, 96.86°)
OKLaboklab(74.96% -0.0173 0.1084)
OKLCHoklch(74.96% 0.11 99.1)
XYZxyz(38.5786, 42.4424, 15.3907)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF58 #5868BF
analogous
#BF7C58 #BFAF58 #9BBF58
triadic
#BFAF58 #58BFAF #AF58BF
tetradic
#BFAF58 #58BF7C #5868BF #BF589B
square
#BFAF58 #58BF7C #5868BF #BF589B
split-complementary
#BFAF58 #589BBF #7C58BF
monochromatic
#71662B #9D8E3C #BFAF58 #D0C484 #E1D9B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAF58#FFFFFF#000000##000000
##BFAF581.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)
#BDAB50
Deuteranopia (green-blind)
#C2B15C
Tritanopia (blue-blind)
#CCA49B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf58;
/* rgb */ color: rgb(191, 175, 88);
/* oklch */ color: oklch(75.0% 0.110 99.1);
Tailwind
colors: {
  custom: {
    50: '#d4c689',
    500: '#bfaf58',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf58;
$custom-light: #d4c689;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf58",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 88
  },
  "hsl": {
    "h": 50.68,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.74961,
    "c": 0.1098,
    "h": 99.1
  },
  "luminance": 0.42441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFAF58

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

Preview Lab → · Contrast checker → · Palette generator →

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