#BFB937#BFB937

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

Color values

HEX#BFB937
RGBrgb(191, 185, 55)
HSLhsl(57, 55%, 48%)
HSVhsv(57, 71%, 75%)
CMYKcmyk(0%, 3.1%, 71.2%, 25.1%)
CIE-LABlab(73.58, -12.91, 62.96)
CIE-LCHlch(73.58, 64.27, 101.59°)
OKLaboklab(76.78% -0.0419 0.1396)
OKLCHoklch(76.78% 0.146 106.7)
XYZxyz(39.5259, 46.0515, 10.4205)
Luminance0.4605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB937 #373DBF
analogous
#BF7537 #BFB937 #81BF37
triadic
#BFB937 #37BFB9 #B937BF
tetradic
#BFB937 #37BF75 #373DBF #BF3781
square
#BFB937 #37BF75 #373DBF #BF3781
split-complementary
#BFB937 #3781BF #7537BF
monochromatic
#605D1C #8F8B29 #BFB937 #D2CD62 #DFDC91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFB937#FFFFFF#000000##000000
##BFB9371.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)
#C9B221
Deuteranopia (green-blind)
#CBB740
Tritanopia (blue-blind)
#CDADA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bfb937;
/* rgb */ color: rgb(191, 185, 55);
/* oklch */ color: oklch(76.8% 0.146 106.7);
Tailwind
colors: {
  custom: {
    50: '#d6cd77',
    500: '#bfb937',
    950: '#000000',
  },
}
SCSS
$custom: #bfb937;
$custom-light: #d6cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb937",
  "rgb": {
    "r": 191,
    "g": 185,
    "b": 55
  },
  "hsl": {
    "h": 57.353,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7678,
    "c": 0.14572,
    "h": 106.7
  },
  "luminance": 0.4605
}

Semantic roles & 50–950 ramp

primary
#BFB937
secondary
#888BCA
accent
#50DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BFB937

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

Preview Lab → · Contrast checker → · Palette generator →

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