#BFAF4F#BFAF4F

#BFAF4F is a light, moderate yellow. Relative luminance 0.423; OKLCH L 74.9% C 0.118 H 99.9°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#BFAF4F
RGBrgb(191, 175, 79)
HSLhsl(51, 47%, 53%)
HSVhsv(51, 59%, 75%)
CMYKcmyk(0%, 8.4%, 58.6%, 25.1%)
CIE-LABlab(71.08, -6.26, 50.29)
CIE-LCHlch(71.08, 50.68, 97.10°)
OKLaboklab(74.85% -0.0204 0.1164)
OKLCHoklch(74.85% 0.118 99.9)
XYZxyz(38.2285, 42.3024, 13.5471)
Luminance0.4230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF4F #4F5FBF
analogous
#BF774F #BFAF4F #97BF4F
triadic
#BFAF4F #4FBFAF #AF4FBF
tetradic
#BFAF4F #4FBF77 #4F5FBF #BF4F97
square
#BFAF4F #4FBF77 #4F5FBF #BF4F97
split-complementary
#BFAF4F #4F97BF #774FBF
monochromatic
#6C6227 #998B38 #BFAF4F #CFC37C #E0D8A9

Accessibility & contrast

On white

2.22
#BFAF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#BFAF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF4F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF4F#FFFFFF#000000##000000
##BFAF4F1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA45
Deuteranopia (green-blind)
#C2B154
Tritanopia (blue-blind)
#CDA49A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf4f;
/* rgb */ color: rgb(191, 175, 79);
/* oklch */ color: oklch(74.9% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#d5c684',
    500: '#bfaf4f',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf4f;
$custom-light: #d5c684;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf4f",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 79
  },
  "hsl": {
    "h": 51.429,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.74854,
    "c": 0.11818,
    "h": 99.9
  },
  "luminance": 0.42301
}

Semantic roles & 50–950 ramp

primary
#BFAF4F
secondary
#9DA4CD
accent
#64D651
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #BFAF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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