#BFAF4B#BFAF4B

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

Color values

HEX#BFAF4B
RGBrgb(191, 175, 75)
HSLhsl(52, 48%, 52%)
HSVhsv(52, 61%, 75%)
CMYKcmyk(0%, 8.4%, 60.7%, 25.1%)
CIE-LABlab(71.04, -6.55, 52.09)
CIE-LCHlch(71.04, 52.50, 97.17°)
OKLaboklab(74.81% -0.0217 0.1197)
OKLCHoklch(74.81% 0.122 100.3)
XYZxyz(38.0873, 42.2459, 12.8033)
Luminance0.4224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF4B #4B5BBF
analogous
#BF754B #BFAF4B #95BF4B
triadic
#BFAF4B #4BBFAF #AF4BBF
tetradic
#BFAF4B #4BBF75 #4B5BBF #BF4B95
square
#BFAF4B #4BBF75 #4B5BBF #BF4B95
split-complementary
#BFAF4B #4B95BF #754BBF
monochromatic
#6A6126 #978A36 #BFAF4B #CFC378 #DFD7A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAF4B#FFFFFF#000000##000000
##BFAF4B1.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)
#BEAA40
Deuteranopia (green-blind)
#C3B150
Tritanopia (blue-blind)
#CDA399
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf4b;
/* rgb */ color: rgb(191, 175, 75);
/* oklch */ color: oklch(74.8% 0.122 100.3);
Tailwind
colors: {
  custom: {
    50: '#d5c681',
    500: '#bfaf4b',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf4b;
$custom-light: #d5c681;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf4b",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 75
  },
  "hsl": {
    "h": 51.724,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74811,
    "c": 0.12167,
    "h": 100.3
  },
  "luminance": 0.42244
}

Semantic roles & 50–950 ramp

primary
#BFAF4B
secondary
#9AA1CC
accent
#63D751
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #BFAF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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