#BFAF7F#BFAF7F

#BFAF7F is a light, moderate yellow. Relative luminance 0.433; OKLCH L 75.6% C 0.067 H 91.8°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#BFAF7F
RGBrgb(191, 175, 127)
HSLhsl(45, 33%, 62%)
HSVhsv(45, 34%, 75%)
CMYKcmyk(0%, 8.4%, 33.5%, 25.1%)
CIE-LABlab(71.74, -1.48, 26.74)
CIE-LCHlch(71.74, 26.78, 93.16°)
OKLaboklab(75.59% -0.0021 0.0668)
OKLCHoklch(75.59% 0.067 91.8)
XYZxyz(40.6472, 43.2698, 26.2853)
Luminance0.4327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF7F #7F8FBF
analogous
#BF8F7F #BFAF7F #AFBF7F
triadic
#BFAF7F #7FBFAF #AF7FBF
tetradic
#BFAF7F #7FBF8F #7F8FBF #BF7FAF
square
#BFAF7F #7FBF8F #7F8FBF #BF7FAF
split-complementary
#BFAF7F #7FAFBF #8F7FBF
monochromatic
#827241 #AB9556 #BFAF7F #D3C9A8 #E8E2D1

Accessibility & contrast

On white

2.18
#BFAF7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#BFAF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF7F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF7F#FFFFFF#000000##000000
##BFAF7F1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AD7C
Deuteranopia (green-blind)
#BEB281
Tritanopia (blue-blind)
#C9A8A2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bfaf7f;
/* rgb */ color: rgb(191, 175, 127);
/* oklch */ color: oklch(75.6% 0.067 91.8);
Tailwind
colors: {
  custom: {
    50: '#d3c6a4',
    500: '#bfaf7f',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf7f;
$custom-light: #d3c6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf7f",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 127
  },
  "hsl": {
    "h": 45,
    "s": 33.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.75589,
    "c": 0.06685,
    "h": 91.8
  },
  "luminance": 0.43269
}

Semantic roles & 50–950 ramp

primary
#BFAF7F
secondary
#C1C7D9
accent
#56AC39
background
#FDFCFA
surface
#FAF8F4
border
#D3D1CE
text
#14130F
muted
#83827F

Preview Lab

Preview with #BFAF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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