#BFA72F#BFA72F

#BFA72F is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.9% C 0.135 H 97.3°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#BFA72F
RGBrgb(191, 167, 47)
HSLhsl(50, 61%, 47%)
HSVhsv(50, 75%, 75%)
CMYKcmyk(0%, 12.6%, 75.4%, 25.1%)
CIE-LABlab(68.69, -3.90, 61.17)
CIE-LCHlch(68.69, 61.30, 93.65°)
OKLaboklab(72.88% -0.0173 0.1343)
OKLCHoklch(72.88% 0.135 97.3)
XYZxyz(35.8195, 38.9209, 8.3146)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA72F #2F47BF
analogous
#BF5F2F #BFA72F #8FBF2F
triadic
#BFA72F #2FBFA7 #A72FBF
tetradic
#BFA72F #2FBF5F #2F47BF #BF2F8F
square
#BFA72F #2FBF5F #2F47BF #BF2F8F
split-complementary
#BFA72F #2F8FBF #5F2FBF
monochromatic
#5D5117 #8E7C23 #BFA72F #D5C056 #E1D287

Accessibility & contrast

On white

2.39
#BFA72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#BFA72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA72F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA72F#FFFFFF#000000##000000
##BFA72F1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A318
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#CE9A90
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa72f;
/* rgb */ color: rgb(191, 167, 47);
/* oklch */ color: oklch(72.9% 0.135 97.3);
Tailwind
colors: {
  custom: {
    50: '#d6c071',
    500: '#bfa72f',
    950: '#000000',
  },
}
SCSS
$custom: #bfa72f;
$custom-light: #d6c071;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa72f",
  "rgb": {
    "r": 191,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 50,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72883,
    "c": 0.13538,
    "h": 97.3
  },
  "luminance": 0.38919
}

Semantic roles & 50–950 ramp

primary
#BFA72F
secondary
#7F8BCB
accent
#5FE444
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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