#BFA74F#BFA74F

#BFA74F is a light, moderate yellow. Relative luminance 0.393; OKLCH L 73.2% C 0.112 H 94.2°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#BFA74F
RGBrgb(191, 167, 79)
HSLhsl(47, 47%, 53%)
HSVhsv(47, 59%, 75%)
CMYKcmyk(0%, 12.6%, 58.6%, 25.1%)
CIE-LABlab(68.95, -2.03, 47.88)
CIE-LCHlch(68.95, 47.92, 92.43°)
OKLaboklab(73.17% -0.0082 0.1112)
OKLCHoklch(73.17% 0.112 94.2)
XYZxyz(36.7174, 39.2801, 13.0434)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA74F #4F67BF
analogous
#BF6F4F #BFA74F #9FBF4F
triadic
#BFA74F #4FBFA7 #A74FBF
tetradic
#BFA74F #4FBF6F #4F67BF #BF4F9F
square
#BFA74F #4FBF6F #4F67BF #BF4F9F
split-complementary
#BFA74F #4F9FBF #6F4FBF
monochromatic
#6C5D27 #998438 #BFA74F #CFBD7C #E0D4A9

Accessibility & contrast

On white

2.37
#BFA74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#BFA74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA74F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA74F#FFFFFF#000000##000000
##BFA74F1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A446
Deuteranopia (green-blind)
#BDAB53
Tritanopia (blue-blind)
#CD9C93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa74f;
/* rgb */ color: rgb(191, 167, 79);
/* oklch */ color: oklch(73.2% 0.112 94.2);
Tailwind
colors: {
  custom: {
    50: '#d5c083',
    500: '#bfa74f',
    950: '#000000',
  },
}
SCSS
$custom: #bfa74f;
$custom-light: #d5c083;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa74f",
  "rgb": {
    "r": 191,
    "g": 167,
    "b": 79
  },
  "hsl": {
    "h": 47.143,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.73172,
    "c": 0.11153,
    "h": 94.2
  },
  "luminance": 0.39278
}

Semantic roles & 50–950 ramp

primary
#BFA74F
secondary
#9DA7CD
accent
#6ED651
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #BFA74F

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

Preview Lab → · Contrast checker → · Palette generator →

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