#BFAF4C#BFAF4C

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

Color values

HEX#BFAF4C
RGBrgb(191, 175, 76)
HSLhsl(52, 47%, 52%)
HSVhsv(52, 60%, 75%)
CMYKcmyk(0%, 8.4%, 60.2%, 25.1%)
CIE-LABlab(71.05, -6.48, 51.64)
CIE-LCHlch(71.05, 52.05, 97.15°)
OKLaboklab(74.82% -0.0214 0.1189)
OKLCHoklch(74.82% 0.121 100.2)
XYZxyz(38.1218, 42.2597, 12.9850)
Luminance0.4226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF4C #4C5CBF
analogous
#BF754C #BFAF4C #96BF4C
triadic
#BFAF4C #4CBFAF #AF4CBF
tetradic
#BFAF4C #4CBF75 #4C5CBF #BF4C96
square
#BFAF4C #4CBF75 #4C5CBF #BF4C96
split-complementary
#BFAF4C #4C96BF #754CBF
monochromatic
#6B6126 #988A36 #BFAF4C #CFC379 #DFD7A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAF4C#FFFFFF#000000##000000
##BFAF4C1.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)
#BEAA41
Deuteranopia (green-blind)
#C3B151
Tritanopia (blue-blind)
#CDA499
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf4c;
/* rgb */ color: rgb(191, 175, 76);
/* oklch */ color: oklch(74.8% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#d5c682',
    500: '#bfaf4c',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf4c;
$custom-light: #d5c682;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf4c",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 76
  },
  "hsl": {
    "h": 51.652,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74821,
    "c": 0.12082,
    "h": 100.2
  },
  "luminance": 0.42258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFAF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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