#BFB52D#BFB52D

#BFB52D is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.9% C 0.148 H 105.0°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#BFB52D
RGBrgb(191, 181, 45)
HSLhsl(56, 62%, 46%)
HSVhsv(56, 76%, 75%)
CMYKcmyk(0%, 5.2%, 76.4%, 25.1%)
CIE-LABlab(72.44, -11.30, 65.33)
CIE-LCHlch(72.44, 66.30, 99.81°)
OKLaboklab(75.85% -0.0383 0.1427)
OKLCHoklch(75.85% 0.148 105)
XYZxyz(38.4851, 44.3151, 9.0086)
Luminance0.4431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB52D #2D37BF
analogous
#BF6C2D #BFB52D #80BF2D
triadic
#BFB52D #2DBFB5 #B52DBF
tetradic
#BFB52D #2DBF6C #2D37BF #BF2D80
square
#BFB52D #2DBF6C #2D37BF #BF2D80
split-complementary
#BFB52D #2D80BF #6C2DBF
monochromatic
#5C5716 #8D8621 #BFB52D #D6CD53 #E2DC84

Accessibility & contrast

On white

2.13
#BFB52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#BFB52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB52D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB52D#FFFFFF#000000##000000
##BFB52D1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0B
Deuteranopia (green-blind)
#C9B438
Tritanopia (blue-blind)
#CEA89B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bfb52d;
/* rgb */ color: rgb(191, 181, 45);
/* oklch */ color: oklch(75.9% 0.148 105.0);
Tailwind
colors: {
  custom: {
    50: '#d6ca71',
    500: '#bfb52d',
    950: '#000000',
  },
}
SCSS
$custom: #bfb52d;
$custom-light: #d6ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb52d",
  "rgb": {
    "r": 191,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 55.89,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75854,
    "c": 0.14781,
    "h": 105
  },
  "luminance": 0.44314
}

Semantic roles & 50–950 ramp

primary
#BFB52D
secondary
#7C82CB
accent
#4EE543
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BFB52D

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

Preview Lab → · Contrast checker → · Palette generator →

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