#BFA540#BFA540

#BFA540 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.6% C 0.123 H 94.6°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#BFA540
RGBrgb(191, 165, 64)
HSLhsl(48, 50%, 50%)
HSVhsv(48, 66%, 75%)
CMYKcmyk(0%, 13.6%, 66.5%, 25.1%)
CIE-LABlab(68.28, -1.97, 54.00)
CIE-LCHlch(68.28, 54.04, 92.09°)
OKLaboklab(72.6% -0.0099 0.1222)
OKLCHoklch(72.6% 0.123 94.6)
XYZxyz(35.8681, 38.3587, 10.3642)
Luminance0.3836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA540 #405ABF
analogous
#BF6640 #BFA540 #99BF40
triadic
#BFA540 #40BFA5 #A540BF
tetradic
#BFA540 #40BF66 #405ABF #BF4099
square
#BFA540 #40BF66 #405ABF #BF4099
split-complementary
#BFA540 #4099BF #6640BF
monochromatic
#635621 #917D31 #BFA540 #CEBB6E #DED09C

Accessibility & contrast

On white

2.42
#BFA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#BFA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA540
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA540#FFFFFF#000000##000000
##BFA5401.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A234
Deuteranopia (green-blind)
#BCAA45
Tritanopia (blue-blind)
#CE9990
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bfa540;
/* rgb */ color: rgb(191, 165, 64);
/* oklch */ color: oklch(72.6% 0.123 94.6);
Tailwind
colors: {
  custom: {
    50: '#d6bf7a',
    500: '#bfa540',
    950: '#000000',
  },
}
SCSS
$custom: #bfa540;
$custom-light: #d6bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa540",
  "rgb": {
    "r": 191,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 47.717,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.72597,
    "c": 0.12256,
    "h": 94.6
  },
  "luminance": 0.38357
}

Semantic roles & 50–950 ramp

primary
#BFA540
secondary
#919DCA
accent
#6BD94E
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA540

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

Preview Lab → · Contrast checker → · Palette generator →

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