#BFB931#BFB931

#BFB931 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.7% C 0.149 H 106.9°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#BFB931
RGBrgb(191, 185, 49)
HSLhsl(57, 59%, 47%)
HSVhsv(57, 74%, 75%)
CMYKcmyk(0%, 3.1%, 74.3%, 25.1%)
CIE-LABlab(73.54, -13.18, 65.04)
CIE-LCHlch(73.54, 66.36, 101.46°)
OKLaboklab(76.74% -0.0433 0.1429)
OKLCHoklch(76.74% 0.149 106.9)
XYZxyz(39.3908, 45.9974, 9.7086)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB931 #3137BF
analogous
#BF7231 #BFB931 #7EBF31
triadic
#BFB931 #31BFB9 #B931BF
tetradic
#BFB931 #31BF72 #3137BF #BF317E
square
#BFB931 #31BF72 #3137BF #BF317E
split-complementary
#BFB931 #317EBF #7231BF
monochromatic
#5E5B18 #8E8A25 #BFB931 #D4CF59 #E1DD8A

Accessibility & contrast

On white

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

On black

10.20
#BFB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB931
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB931#FFFFFF#000000##000000
##BFB9311.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B214
Deuteranopia (green-blind)
#CCB73B
Tritanopia (blue-blind)
#CDAD9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bfb931;
/* rgb */ color: rgb(191, 185, 49);
/* oklch */ color: oklch(76.7% 0.149 106.9);
Tailwind
colors: {
  custom: {
    50: '#d6cd74',
    500: '#bfb931',
    950: '#000000',
  },
}
SCSS
$custom: #bfb931;
$custom-light: #d6cd74;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb931",
  "rgb": {
    "r": 191,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 57.465,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76741,
    "c": 0.14927,
    "h": 106.9
  },
  "luminance": 0.45996
}

Semantic roles & 50–950 ramp

primary
#BFB931
secondary
#8184CB
accent
#4CE245
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BFB931

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

Preview Lab → · Contrast checker → · Palette generator →

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