#BFB545#BFB545

#BFB545 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.0% C 0.132 H 104.2°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#BFB545
RGBrgb(191, 181, 69)
HSLhsl(55, 49%, 51%)
HSVhsv(55, 64%, 75%)
CMYKcmyk(0%, 5.2%, 63.9%, 25.1%)
CIE-LABlab(72.60, -10.07, 56.41)
CIE-LCHlch(72.60, 57.31, 100.12°)
OKLaboklab(76.03% -0.0324 0.1281)
OKLCHoklch(76.03% 0.132 104.2)
XYZxyz(39.0854, 44.5552, 12.1703)
Luminance0.4455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB545 #454FBF
analogous
#BF7845 #BFB545 #8CBF45
triadic
#BFB545 #45BFB5 #B545BF
tetradic
#BFB545 #45BF78 #454FBF #BF458C
square
#BFB545 #45BF78 #454FBF #BF458C
split-complementary
#BFB545 #458CBF #7845BF
monochromatic
#666123 #948C33 #BFB545 #CFC773 #DED9A0

Accessibility & contrast

On white

2.12
#BFB545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#BFB545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB545
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB545#FFFFFF#000000##000000
##BFB5451.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF37
Deuteranopia (green-blind)
#C8B54C
Tritanopia (blue-blind)
#CDA99E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bfb545;
/* rgb */ color: rgb(191, 181, 69);
/* oklch */ color: oklch(76.0% 0.132 104.2);
Tailwind
colors: {
  custom: {
    50: '#d5ca7e',
    500: '#bfb545',
    950: '#000000',
  },
}
SCSS
$custom: #bfb545;
$custom-light: #d5ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb545",
  "rgb": {
    "r": 191,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 55.082,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76031,
    "c": 0.13209,
    "h": 104.2
  },
  "luminance": 0.44554
}

Semantic roles & 50–950 ramp

primary
#BFB545
secondary
#9599CB
accent
#5BD84F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFB545

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

Preview Lab → · Contrast checker → · Palette generator →

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