#BFB952#BFB952

#BFB952 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.0% C 0.125 H 105.9°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#BFB952
RGBrgb(191, 185, 82)
HSLhsl(57, 46%, 54%)
HSVhsv(57, 57%, 75%)
CMYKcmyk(0%, 3.1%, 57.1%, 25.1%)
CIE-LABlab(73.79, -11.23, 51.97)
CIE-LCHlch(73.79, 53.17, 102.20°)
OKLaboklab(77.02% -0.0343 0.1204)
OKLCHoklch(77.02% 0.125 105.9)
XYZxyz(40.3591, 46.3848, 14.8082)
Luminance0.4638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB952 #5258BF
analogous
#BF8252 #BFB952 #8EBF52
triadic
#BFB952 #52BFB9 #B952BF
tetradic
#BFB952 #52BF82 #5258BF #BF528E
square
#BFB952 #52BF82 #5258BF #BF528E
split-complementary
#BFB952 #528EBF #8252BF
monochromatic
#6E6A29 #9B9539 #BFB952 #D0CB7F #E0DDAB

Accessibility & contrast

On white

2.04
#BFB952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#BFB952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB952
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB952#FFFFFF#000000##000000
##BFB9521.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B347
Deuteranopia (green-blind)
#CAB757
Tritanopia (blue-blind)
#CCAEA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bfb952;
/* rgb */ color: rgb(191, 185, 82);
/* oklch */ color: oklch(77.0% 0.125 105.9);
Tailwind
colors: {
  custom: {
    50: '#d5cd86',
    500: '#bfb952',
    950: '#000000',
  },
}
SCSS
$custom: #bfb952;
$custom-light: #d5cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb952",
  "rgb": {
    "r": 191,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 56.697,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77021,
    "c": 0.12515,
    "h": 105.9
  },
  "luminance": 0.46383
}

Semantic roles & 50–950 ramp

primary
#BFB952
secondary
#9FA2CE
accent
#59D652
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #BFB952

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

Preview Lab → · Contrast checker → · Palette generator →

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