#BFA940#BFA940

#BFA940 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.4% C 0.126 H 97.3°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#BFA940
RGBrgb(191, 169, 64)
HSLhsl(50, 50%, 50%)
HSVhsv(50, 66%, 75%)
CMYKcmyk(0%, 11.5%, 66.5%, 25.1%)
CIE-LABlab(69.34, -4.10, 55.12)
CIE-LCHlch(69.34, 55.27, 94.25°)
OKLaboklab(73.44% -0.016 0.1245)
OKLCHoklch(73.44% 0.126 97.3)
XYZxyz(36.6009, 39.8242, 10.6085)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA940 #4056BF
analogous
#BF6940 #BFA940 #96BF40
triadic
#BFA940 #40BFA9 #A940BF
tetradic
#BFA940 #40BF69 #4056BF #BF4096
square
#BFA940 #40BF69 #4056BF #BF4096
split-complementary
#BFA940 #4096BF #6940BF
monochromatic
#635821 #918031 #BFA940 #CEBE6E #DED29C

Accessibility & contrast

On white

2.34
#BFA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#BFA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA940
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA940#FFFFFF#000000##000000
##BFA9401.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A533
Deuteranopia (green-blind)
#BFAC46
Tritanopia (blue-blind)
#CE9D93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bfa940;
/* rgb */ color: rgb(191, 169, 64);
/* oklch */ color: oklch(73.4% 0.126 97.3);
Tailwind
colors: {
  custom: {
    50: '#d6c27a',
    500: '#bfa940',
    950: '#000000',
  },
}
SCSS
$custom: #bfa940;
$custom-light: #d6c27a;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa940",
  "rgb": {
    "r": 191,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 49.606,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.73436,
    "c": 0.12554,
    "h": 97.3
  },
  "luminance": 0.39822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFA940

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

Preview Lab → · Contrast checker → · Palette generator →

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