#BFA340#BFA340

#BFA340 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.2% C 0.121 H 93.2°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#BFA340
RGBrgb(191, 163, 64)
HSLhsl(47, 50%, 50%)
HSVhsv(47, 66%, 75%)
CMYKcmyk(0%, 14.7%, 66.5%, 25.1%)
CIE-LABlab(67.76, -0.90, 53.44)
CIE-LCHlch(67.76, 53.45, 90.97°)
OKLaboklab(72.18% -0.0068 0.121)
OKLCHoklch(72.18% 0.121 93.2)
XYZxyz(35.5102, 37.6428, 10.2449)
Luminance0.3764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA340 #405CBF
analogous
#BF6440 #BFA340 #9BBF40
triadic
#BFA340 #40BFA3 #A340BF
tetradic
#BFA340 #40BF64 #405CBF #BF409B
square
#BFA340 #40BF64 #405CBF #BF409B
split-complementary
#BFA340 #409BBF #6440BF
monochromatic
#635521 #917C31 #BFA340 #CEB96E #DECF9C

Accessibility & contrast

On white

2.46
#BFA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#BFA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA340
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA340#FFFFFF#000000##000000
##BFA3401.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A034
Deuteranopia (green-blind)
#BBA945
Tritanopia (blue-blind)
#CE978E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bfa340;
/* rgb */ color: rgb(191, 163, 64);
/* oklch */ color: oklch(72.2% 0.121 93.2);
Tailwind
colors: {
  custom: {
    50: '#d6bd7a',
    500: '#bfa340',
    950: '#000000',
  },
}
SCSS
$custom: #bfa340;
$custom-light: #d6bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa340",
  "rgb": {
    "r": 191,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 46.772,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.7218,
    "c": 0.12117,
    "h": 93.2
  },
  "luminance": 0.37641
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFA340

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

Preview Lab → · Contrast checker → · Palette generator →

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