#BFAF4A#BFAF4A

#BFAF4A is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.8% C 0.123 H 100.3°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#BFAF4A
RGBrgb(191, 175, 74)
HSLhsl(52, 48%, 52%)
HSVhsv(52, 61%, 75%)
CMYKcmyk(0%, 8.4%, 61.3%, 25.1%)
CIE-LABlab(71.03, -6.62, 52.53)
CIE-LCHlch(71.03, 52.94, 97.18°)
OKLaboklab(74.8% -0.022 0.1205)
OKLCHoklch(74.8% 0.123 100.3)
XYZxyz(38.0533, 42.2323, 12.6244)
Luminance0.4223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF4A #4A5ABF
analogous
#BF754A #BFAF4A #95BF4A
triadic
#BFAF4A #4ABFAF #AF4ABF
tetradic
#BFAF4A #4ABF75 #4A5ABF #BF4A95
square
#BFAF4A #4ABF75 #4A5ABF #BF4A95
split-complementary
#BFAF4A #4A95BF #754ABF
monochromatic
#696025 #978935 #BFAF4A #CFC377 #DFD7A4

Accessibility & contrast

On white

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

On black

9.45
#BFAF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF4A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF4A#FFFFFF#000000##000000
##BFAF4A1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3F
Deuteranopia (green-blind)
#C3B14F
Tritanopia (blue-blind)
#CDA399
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf4a;
/* rgb */ color: rgb(191, 175, 74);
/* oklch */ color: oklch(74.8% 0.123 100.3);
Tailwind
colors: {
  custom: {
    50: '#d5c681',
    500: '#bfaf4a',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf4a;
$custom-light: #d5c681;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf4a",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 51.795,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74801,
    "c": 0.12252,
    "h": 100.3
  },
  "luminance": 0.42231
}

Semantic roles & 50–950 ramp

primary
#BFAF4A
secondary
#99A0CC
accent
#63D750
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFAF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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