#BFB951#BFB951

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

Color values

HEX#BFB951
RGBrgb(191, 185, 81)
HSLhsl(57, 46%, 53%)
HSVhsv(57, 58%, 75%)
CMYKcmyk(0%, 3.1%, 57.6%, 25.1%)
CIE-LABlab(73.78, -11.31, 52.41)
CIE-LCHlch(73.78, 53.62, 102.18°)
OKLaboklab(77.01% -0.0346 0.1212)
OKLCHoklch(77.01% 0.126 105.9)
XYZxyz(40.3213, 46.3696, 14.6092)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB951 #5157BF
analogous
#BF8251 #BFB951 #8EBF51
triadic
#BFB951 #51BFB9 #B951BF
tetradic
#BFB951 #51BF82 #5157BF #BF518E
square
#BFB951 #51BF82 #5157BF #BF518E
split-complementary
#BFB951 #518EBF #8251BF
monochromatic
#6D6A28 #9A9539 #BFB951 #CFCB7E #E0DDAA

Accessibility & contrast

On white

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

On black

10.27
#BFB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB951
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB951#FFFFFF#000000##000000
##BFB9511.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfb951;
/* rgb */ color: rgb(191, 185, 81);
/* oklch */ color: oklch(77.0% 0.126 105.9);
Tailwind
colors: {
  custom: {
    50: '#d5cd86',
    500: '#bfb951',
    950: '#000000',
  },
}
SCSS
$custom: #bfb951;
$custom-light: #d5cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb951",
  "rgb": {
    "r": 191,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 56.727,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7701,
    "c": 0.12603,
    "h": 105.9
  },
  "luminance": 0.46368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFB951

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

Preview Lab → · Contrast checker → · Palette generator →

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