#BFAF5F#BFAF5F

#BFAF5F is a light, moderate yellow. Relative luminance 0.426; OKLCH L 75.1% C 0.103 H 98.3°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#BFAF5F
RGBrgb(191, 175, 95)
HSLhsl(50, 43%, 56%)
HSVhsv(50, 50%, 75%)
CMYKcmyk(0%, 8.4%, 50.3%, 25.1%)
CIE-LABlab(71.26, -4.94, 42.77)
CIE-LCHlch(71.26, 43.05, 96.59°)
OKLaboklab(75.05% -0.0148 0.1017)
OKLCHoklch(75.05% 0.103 98.3)
XYZxyz(38.8826, 42.5640, 16.9918)
Luminance0.4256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF5F #5F6FBF
analogous
#BF7F5F #BFAF5F #9FBF5F
triadic
#BFAF5F #5FBFAF #AF5FBF
tetradic
#BFAF5F #5FBF7F #5F6FBF #BF5F9F
square
#BFAF5F #5FBF7F #5F6FBF #BF5F9F
split-complementary
#BFAF5F #5F9FBF #7F5FBF
monochromatic
#75692F #A19140 #BFAF5F #D0C58B #E2DBB6

Accessibility & contrast

On white

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

On black

9.51
#BFAF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF5F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF5F#FFFFFF#000000##000000
##BFAF5F1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB58
Deuteranopia (green-blind)
#C1B162
Tritanopia (blue-blind)
#CCA59C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf5f;
/* rgb */ color: rgb(191, 175, 95);
/* oklch */ color: oklch(75.1% 0.103 98.3);
Tailwind
colors: {
  custom: {
    50: '#d4c68e',
    500: '#bfaf5f',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf5f;
$custom-light: #d4c68e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf5f",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 95
  },
  "hsl": {
    "h": 50,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.75054,
    "c": 0.10281,
    "h": 98.3
  },
  "luminance": 0.42563
}

Semantic roles & 50–950 ramp

primary
#BFAF5F
secondary
#A9B0D1
accent
#6AD355
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BFAF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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