#BFB939#BFB939

#BFB939 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.8% C 0.144 H 106.7°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#BFB939
RGBrgb(191, 185, 57)
HSLhsl(57, 54%, 49%)
HSVhsv(57, 70%, 75%)
CMYKcmyk(0%, 3.1%, 70.2%, 25.1%)
CIE-LABlab(73.59, -12.81, 62.24)
CIE-LCHlch(73.59, 63.54, 101.63°)
OKLaboklab(76.79% -0.0414 0.1384)
OKLCHoklch(76.79% 0.144 106.7)
XYZxyz(39.5749, 46.0711, 10.6781)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB939 #393FBF
analogous
#BF7639 #BFB939 #82BF39
triadic
#BFB939 #39BFB9 #B939BF
tetradic
#BFB939 #39BF76 #393FBF #BF3982
square
#BFB939 #39BF76 #393FBF #BF3982
split-complementary
#BFB939 #3982BF #7639BF
monochromatic
#615E1D #908B2B #BFB939 #D1CC64 #DFDC93

Accessibility & contrast

On white

2.06
#BFB939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#BFB939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB939
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB939#FFFFFF#000000##000000
##BFB9391.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B224
Deuteranopia (green-blind)
#CBB742
Tritanopia (blue-blind)
#CDADA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bfb939;
/* rgb */ color: rgb(191, 185, 57);
/* oklch */ color: oklch(76.8% 0.144 106.7);
Tailwind
colors: {
  custom: {
    50: '#d6cd78',
    500: '#bfb939',
    950: '#000000',
  },
}
SCSS
$custom: #bfb939;
$custom-light: #d6cd78;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb939",
  "rgb": {
    "r": 191,
    "g": 185,
    "b": 57
  },
  "hsl": {
    "h": 57.313,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76794,
    "c": 0.14445,
    "h": 106.7
  },
  "luminance": 0.4607
}

Semantic roles & 50–950 ramp

primary
#BFB939
secondary
#8A8DCA
accent
#51DD4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BFB939

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

Preview Lab → · Contrast checker → · Palette generator →

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