#BFA840#BFA840

#BFA840 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.2% C 0.125 H 96.7°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#BFA840
RGBrgb(191, 168, 64)
HSLhsl(49, 50%, 50%)
HSVhsv(49, 66%, 75%)
CMYKcmyk(0%, 12%, 66.5%, 25.1%)
CIE-LABlab(69.08, -3.57, 54.84)
CIE-LCHlch(69.08, 54.95, 93.72°)
OKLaboklab(73.23% -0.0145 0.1239)
OKLCHoklch(73.23% 0.125 96.7)
XYZxyz(36.4156, 39.4536, 10.5467)
Luminance0.3945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA840 #4057BF
analogous
#BF6940 #BFA840 #96BF40
triadic
#BFA840 #40BFA8 #A840BF
tetradic
#BFA840 #40BF69 #4057BF #BF4096
square
#BFA840 #40BF69 #4057BF #BF4096
split-complementary
#BFA840 #4096BF #6940BF
monochromatic
#635721 #918031 #BFA840 #CEBD6E #DED29C

Accessibility & contrast

On white

2.36
#BFA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#BFA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA840
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA840#FFFFFF#000000##000000
##BFA8401.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#BEAC45
Tritanopia (blue-blind)
#CE9C92
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bfa840;
/* rgb */ color: rgb(191, 168, 64);
/* oklch */ color: oklch(73.2% 0.125 96.7);
Tailwind
colors: {
  custom: {
    50: '#d6c17a',
    500: '#bfa840',
    950: '#000000',
  },
}
SCSS
$custom: #bfa840;
$custom-light: #d6c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa840",
  "rgb": {
    "r": 191,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 49.134,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.73226,
    "c": 0.12477,
    "h": 96.7
  },
  "luminance": 0.39452
}

Semantic roles & 50–950 ramp

primary
#BFA840
secondary
#919BCA
accent
#68D94E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA840

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

Preview Lab → · Contrast checker → · Palette generator →

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