#BFB548#BFB548

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

Color values

HEX#BFB548
RGBrgb(191, 181, 72)
HSLhsl(55, 48%, 52%)
HSVhsv(55, 62%, 75%)
CMYKcmyk(0%, 5.2%, 62.3%, 25.1%)
CIE-LABlab(72.62, -9.88, 55.15)
CIE-LCHlch(72.62, 56.03, 100.16°)
OKLaboklab(76.06% -0.0315 0.1258)
OKLCHoklch(76.06% 0.13 104.1)
XYZxyz(39.1809, 44.5934, 12.6732)
Luminance0.4459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB548 #4852BF
analogous
#BF7A48 #BFB548 #8EBF48
triadic
#BFB548 #48BFB5 #B548BF
tetradic
#BFB548 #48BF7A #4852BF #BF488E
square
#BFB548 #48BF7A #4852BF #BF488E
split-complementary
#BFB548 #488EBF #7A48BF
monochromatic
#686224 #968D34 #BFB548 #CFC775 #DFDAA3

Accessibility & contrast

On white

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

On black

9.92
#BFB548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB548
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB548#FFFFFF#000000##000000
##BFB5481.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3B
Deuteranopia (green-blind)
#C7B54E
Tritanopia (blue-blind)
#CCA99E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bfb548;
/* rgb */ color: rgb(191, 181, 72);
/* oklch */ color: oklch(76.1% 0.130 104.1);
Tailwind
colors: {
  custom: {
    50: '#d5ca80',
    500: '#bfb548',
    950: '#000000',
  },
}
SCSS
$custom: #bfb548;
$custom-light: #d5ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb548",
  "rgb": {
    "r": 191,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 54.958,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7606,
    "c": 0.12971,
    "h": 104.1
  },
  "luminance": 0.44592
}

Semantic roles & 50–950 ramp

primary
#BFB548
secondary
#979CCC
accent
#5BD850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFB548

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

Preview Lab → · Contrast checker → · Palette generator →

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