#BFB54B#BFB54B

#BFB54B is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.1% C 0.127 H 103.9°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#BFB54B
RGBrgb(191, 181, 75)
HSLhsl(55, 48%, 52%)
HSVhsv(55, 61%, 75%)
CMYKcmyk(0%, 5.2%, 60.7%, 25.1%)
CIE-LABlab(72.65, -9.68, 53.86)
CIE-LCHlch(72.65, 54.72, 100.18°)
OKLaboklab(76.09% -0.0306 0.1235)
OKLCHoklch(76.09% 0.127 103.9)
XYZxyz(39.2811, 44.6335, 13.2012)
Luminance0.4463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB54B #4B55BF
analogous
#BF7B4B #BFB54B #8FBF4B
triadic
#BFB54B #4BBFB5 #B54BBF
tetradic
#BFB54B #4BBF7B #4B55BF #BF4B8F
square
#BFB54B #4BBF7B #4B55BF #BF4B8F
split-complementary
#BFB54B #4B8FBF #7B4BBF
monochromatic
#6A6426 #978F36 #BFB54B #CFC878 #DFDAA5

Accessibility & contrast

On white

2.12
#BFB54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#BFB54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB54B
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB54B#FFFFFF#000000##000000
##BFB54B1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3F
Deuteranopia (green-blind)
#C7B551
Tritanopia (blue-blind)
#CCAA9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bfb54b;
/* rgb */ color: rgb(191, 181, 75);
/* oklch */ color: oklch(76.1% 0.127 103.9);
Tailwind
colors: {
  custom: {
    50: '#d5ca82',
    500: '#bfb54b',
    950: '#000000',
  },
}
SCSS
$custom: #bfb54b;
$custom-light: #d5ca82;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb54b",
  "rgb": {
    "r": 191,
    "g": 181,
    "b": 75
  },
  "hsl": {
    "h": 54.828,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76089,
    "c": 0.12723,
    "h": 103.9
  },
  "luminance": 0.44632
}

Semantic roles & 50–950 ramp

primary
#BFB54B
secondary
#9A9ECC
accent
#5CD751
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #BFB54B

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

Preview Lab → · Contrast checker → · Palette generator →

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