#BFA73F#BFA73F

#BFA73F is a light, vivid yellow. Relative luminance 0.391; OKLCH L 73.0% C 0.125 H 96.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#BFA73F
RGBrgb(191, 167, 63)
HSLhsl(49, 50%, 50%)
HSVhsv(49, 67%, 75%)
CMYKcmyk(0%, 12.6%, 67%, 25.1%)
CIE-LABlab(68.81, -3.10, 54.98)
CIE-LCHlch(68.81, 55.07, 93.22°)
OKLaboklab(73.01% -0.0132 0.1241)
OKLCHoklch(73.01% 0.125 96.1)
XYZxyz(36.2035, 39.0745, 10.3369)
Luminance0.3907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA73F #3F57BF
analogous
#BF673F #BFA73F #97BF3F
triadic
#BFA73F #3FBFA7 #A73FBF
tetradic
#BFA73F #3FBF67 #3F57BF #BF3F97
square
#BFA73F #3FBF67 #3F57BF #BF3F97
split-complementary
#BFA73F #3F97BF #673FBF
monochromatic
#635721 #917F30 #BFA73F #CFBC6D #DED19B

Accessibility & contrast

On white

2.38
#BFA73F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#BFA73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA73F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA73F#FFFFFF#000000##000000
##BFA73F1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A332
Deuteranopia (green-blind)
#BEAB44
Tritanopia (blue-blind)
#CE9B91
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa73f;
/* rgb */ color: rgb(191, 167, 63);
/* oklch */ color: oklch(73.0% 0.125 96.1);
Tailwind
colors: {
  custom: {
    50: '#d6c079',
    500: '#bfa73f',
    950: '#000000',
  },
}
SCSS
$custom: #bfa73f;
$custom-light: #d6c079;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa73f",
  "rgb": {
    "r": 191,
    "g": 167,
    "b": 63
  },
  "hsl": {
    "h": 48.75,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73007,
    "c": 0.12477,
    "h": 96.1
  },
  "luminance": 0.39073
}

Semantic roles & 50–950 ramp

primary
#BFA73F
secondary
#909BCA
accent
#68DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA73F

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

Preview Lab → · Contrast checker → · Palette generator →

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