#BFA839#BFA839

#BFA839 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.2% C 0.130 H 97.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#BFA839
RGBrgb(191, 168, 57)
HSLhsl(50, 54%, 49%)
HSVhsv(50, 70%, 75%)
CMYKcmyk(0%, 12%, 70.2%, 25.1%)
CIE-LABlab(69.02, -3.96, 57.69)
CIE-LCHlch(69.02, 57.83, 93.92°)
OKLaboklab(73.17% -0.0164 0.1288)
OKLCHoklch(73.17% 0.13 97.3)
XYZxyz(36.2288, 39.3789, 9.5627)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA839 #3950BF
analogous
#BF6539 #BFA839 #93BF39
triadic
#BFA839 #39BFA8 #A839BF
tetradic
#BFA839 #39BF65 #3950BF #BF3993
square
#BFA839 #39BF65 #3950BF #BF3993
split-complementary
#BFA839 #3993BF #6539BF
monochromatic
#61551D #907F2B #BFA839 #D1BE64 #DFD293

Accessibility & contrast

On white

2.37
#BFA839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#BFA839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA839
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA839#FFFFFF#000000##000000
##BFA8391.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A429
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#CE9B92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa839;
/* rgb */ color: rgb(191, 168, 57);
/* oklch */ color: oklch(73.2% 0.130 97.3);
Tailwind
colors: {
  custom: {
    50: '#d6c176',
    500: '#bfa839',
    950: '#000000',
  },
}
SCSS
$custom: #bfa839;
$custom-light: #d6c176;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa839",
  "rgb": {
    "r": 191,
    "g": 168,
    "b": 57
  },
  "hsl": {
    "h": 49.701,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73166,
    "c": 0.12982,
    "h": 97.3
  },
  "luminance": 0.39377
}

Semantic roles & 50–950 ramp

primary
#BFA839
secondary
#8A95CA
accent
#64DD4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA839

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

Preview Lab → · Contrast checker → · Palette generator →

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