#BFA73C#BFA73C

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

Color values

HEX#BFA73C
RGBrgb(191, 167, 60)
HSLhsl(49, 52%, 49%)
HSVhsv(49, 69%, 75%)
CMYKcmyk(0%, 12.6%, 68.6%, 25.1%)
CIE-LABlab(68.78, -3.27, 56.22)
CIE-LCHlch(68.78, 56.31, 93.33°)
OKLaboklab(72.98% -0.0141 0.1262)
OKLCHoklch(72.98% 0.127 96.4)
XYZxyz(36.1219, 39.0419, 9.9073)
Luminance0.3904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA73C #3C54BF
analogous
#BF663C #BFA73C #96BF3C
triadic
#BFA73C #3CBFA7 #A73CBF
tetradic
#BFA73C #3CBF66 #3C54BF #BF3C96
square
#BFA73C #3CBF66 #3C54BF #BF3C96
split-complementary
#BFA73C #3C96BF #663CBF
monochromatic
#62561F #907E2D #BFA73C #D0BD68 #DED197

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA73C#FFFFFF#000000##000000
##BFA73C1.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)
#B8A32E
Deuteranopia (green-blind)
#BEAB42
Tritanopia (blue-blind)
#CE9B91
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa73c;
/* rgb */ color: rgb(191, 167, 60);
/* oklch */ color: oklch(73.0% 0.127 96.4);
Tailwind
colors: {
  custom: {
    50: '#d6c078',
    500: '#bfa73c',
    950: '#000000',
  },
}
SCSS
$custom: #bfa73c;
$custom-light: #d6c078;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa73c",
  "rgb": {
    "r": 191,
    "g": 167,
    "b": 60
  },
  "hsl": {
    "h": 49.008,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7298,
    "c": 0.12697,
    "h": 96.4
  },
  "luminance": 0.3904
}

Semantic roles & 50–950 ramp

primary
#BFA73C
secondary
#8D98CA
accent
#66DC4C
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA73C

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

Preview Lab → · Contrast checker → · Palette generator →

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