#BFBA52#BFBA52

#BFBA52 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.2% C 0.126 H 106.5°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#BFBA52
RGBrgb(191, 186, 82)
HSLhsl(57, 46%, 54%)
HSVhsv(57, 57%, 75%)
CMYKcmyk(0%, 2.6%, 57.1%, 25.1%)
CIE-LABlab(74.06, -11.75, 52.27)
CIE-LCHlch(74.06, 53.57, 102.67°)
OKLaboklab(77.24% -0.0357 0.121)
OKLCHoklch(77.24% 0.126 106.5)
XYZxyz(40.5690, 46.8046, 14.8782)
Luminance0.4680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFBA52 #5257BF
analogous
#BF8352 #BFBA52 #8DBF52
triadic
#BFBA52 #52BFBA #BA52BF
tetradic
#BFBA52 #52BF83 #5257BF #BF528D
square
#BFBA52 #52BF83 #5257BF #BF528D
split-complementary
#BFBA52 #528DBF #8352BF
monochromatic
#6E6B29 #9B9639 #BFBA52 #D0CC7F #E0DEAB

Accessibility & contrast

On white

2.03
#BFBA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#BFBA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFBA52
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFBA52#FFFFFF#000000##000000
##BFBA521.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B447
Deuteranopia (green-blind)
#CBB858
Tritanopia (blue-blind)
#CCAFA3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bfba52;
/* rgb */ color: rgb(191, 186, 82);
/* oklch */ color: oklch(77.2% 0.126 106.5);
Tailwind
colors: {
  custom: {
    50: '#d5ce86',
    500: '#bfba52',
    950: '#000000',
  },
}
SCSS
$custom: #bfba52;
$custom-light: #d5ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#bfba52",
  "rgb": {
    "r": 191,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 57.248,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77236,
    "c": 0.12618,
    "h": 106.5
  },
  "luminance": 0.46803
}

Semantic roles & 50–950 ramp

primary
#BFBA52
secondary
#9FA1CE
accent
#58D652
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #BFBA52

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

Preview Lab → · Contrast checker → · Palette generator →

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