#BFB954#BFB954

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

Color values

HEX#BFB954
RGBrgb(191, 185, 84)
HSLhsl(57, 46%, 54%)
HSVhsv(57, 56%, 75%)
CMYKcmyk(0%, 3.1%, 56%, 25.1%)
CIE-LABlab(73.81, -11.08, 51.07)
CIE-LCHlch(73.81, 52.26, 102.24°)
OKLaboklab(77.04% -0.0336 0.1187)
OKLCHoklch(77.04% 0.123 105.8)
XYZxyz(40.4363, 46.4156, 15.2149)
Luminance0.4641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB954 #545ABF
analogous
#BF8454 #BFB954 #90BF54
triadic
#BFB954 #54BFB9 #B954BF
tetradic
#BFB954 #54BF84 #545ABF #BF5490
square
#BFB954 #54BF84 #545ABF #BF5490
split-complementary
#BFB954 #5490BF #8454BF
monochromatic
#6F6B2A #9C963A #BFB954 #D0CB81 #E0DDAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFB954#FFFFFF#000000##000000
##BFB9541.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)
#C7B34A
Deuteranopia (green-blind)
#CAB759
Tritanopia (blue-blind)
#CCAEA3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bfb954;
/* rgb */ color: rgb(191, 185, 84);
/* oklch */ color: oklch(77.0% 0.123 105.8);
Tailwind
colors: {
  custom: {
    50: '#d5cd87',
    500: '#bfb954',
    950: '#000000',
  },
}
SCSS
$custom: #bfb954;
$custom-light: #d5cd87;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb954",
  "rgb": {
    "r": 191,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 56.636,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77043,
    "c": 0.12334,
    "h": 105.8
  },
  "luminance": 0.46414
}

Semantic roles & 50–950 ramp

primary
#BFB954
secondary
#A1A3CE
accent
#5AD553
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #BFB954

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

Preview Lab → · Contrast checker → · Palette generator →

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