#BFB52F#BFB52F

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

Color values

HEX#BFB52F
RGBrgb(191, 181, 47)
HSLhsl(56, 61%, 47%)
HSVhsv(56, 75%, 75%)
CMYKcmyk(0%, 5.2%, 75.4%, 25.1%)
CIE-LABlab(72.45, -11.22, 64.69)
CIE-LCHlch(72.45, 65.65, 99.84°)
OKLaboklab(75.87% -0.0379 0.1417)
OKLCHoklch(75.87% 0.147 105)
XYZxyz(38.5245, 44.3309, 9.2162)
Luminance0.4433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB52F #2F39BF
analogous
#BF6D2F #BFB52F #81BF2F
triadic
#BFB52F #2FBFB5 #B52FBF
tetradic
#BFB52F #2FBF6D #2F39BF #BF2F81
square
#BFB52F #2FBF6D #2F39BF #BF2F81
split-complementary
#BFB52F #2F81BF #6D2FBF
monochromatic
#5D5817 #8E8623 #BFB52F #D5CD56 #E1DB87

Accessibility & contrast

On white

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

On black

9.87
#BFB52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB52F
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB52F#FFFFFF#000000##000000
##BFB52F1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE11
Deuteranopia (green-blind)
#C9B439
Tritanopia (blue-blind)
#CDA89C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bfb52f;
/* rgb */ color: rgb(191, 181, 47);
/* oklch */ color: oklch(75.9% 0.147 105.0);
Tailwind
colors: {
  custom: {
    50: '#d6ca72',
    500: '#bfb52f',
    950: '#000000',
  },
}
SCSS
$custom: #bfb52f;
$custom-light: #d6ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb52f",
  "rgb": {
    "r": 191,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 55.833,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75865,
    "c": 0.14674,
    "h": 105
  },
  "luminance": 0.44329
}

Semantic roles & 50–950 ramp

primary
#BFB52F
secondary
#7F84CB
accent
#4FE444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BFB52F

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

Preview Lab → · Contrast checker → · Palette generator →

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