#BFA938#BFA938

#BFA938 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.4% C 0.131 H 97.9°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#BFA938
RGBrgb(191, 169, 56)
HSLhsl(50, 55%, 48%)
HSVhsv(50, 71%, 75%)
CMYKcmyk(0%, 11.5%, 70.7%, 25.1%)
CIE-LABlab(69.28, -4.54, 58.35)
CIE-LCHlch(69.28, 58.53, 94.45°)
OKLaboklab(73.37% -0.0181 0.13)
OKLCHoklch(73.37% 0.131 97.9)
XYZxyz(36.3894, 39.7396, 9.4944)
Luminance0.3974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA938 #384EBF
analogous
#BF6538 #BFA938 #91BF38
triadic
#BFA938 #38BFA9 #A938BF
tetradic
#BFA938 #38BF65 #384EBF #BF3891
square
#BFA938 #38BF65 #384EBF #BF3891
split-complementary
#BFA938 #3891BF #6538BF
monochromatic
#60551C #907F2A #BFA938 #D1BF63 #DFD392

Accessibility & contrast

On white

2.35
#BFA938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#BFA938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA938
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA938#FFFFFF#000000##000000
##BFA9381.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfa938;
/* rgb */ color: rgb(191, 169, 56);
/* oklch */ color: oklch(73.4% 0.131 97.9);
Tailwind
colors: {
  custom: {
    50: '#d6c275',
    500: '#bfa938',
    950: '#000000',
  },
}
SCSS
$custom: #bfa938;
$custom-light: #d6c275;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa938",
  "rgb": {
    "r": 191,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 50.222,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73369,
    "c": 0.13126,
    "h": 97.9
  },
  "luminance": 0.39738
}

Semantic roles & 50–950 ramp

primary
#BFA938
secondary
#8993CA
accent
#62DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA938

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

Preview Lab → · Contrast checker → · Palette generator →

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