#BFB042#BFB042

#BFB042 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.9% C 0.130 H 101.5°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#BFB042
RGBrgb(191, 176, 66)
HSLhsl(53, 49%, 50%)
HSVhsv(53, 65%, 75%)
CMYKcmyk(0%, 7.9%, 65.4%, 25.1%)
CIE-LABlab(71.23, -7.66, 56.24)
CIE-LCHlch(71.23, 56.76, 97.75°)
OKLaboklab(74.94% -0.0259 0.1272)
OKLCHoklch(74.94% 0.13 101.5)
XYZxyz(37.9961, 42.5220, 11.3593)
Luminance0.4252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB042 #4251BF
analogous
#BF7142 #BFB042 #8FBF42
triadic
#BFB042 #42BFB0 #B042BF
tetradic
#BFB042 #42BF71 #4251BF #BF428F
square
#BFB042 #42BF71 #4251BF #BF428F
split-complementary
#BFB042 #428FBF #7142BF
monochromatic
#655D22 #928732 #BFB042 #CEC370 #DED69D

Accessibility & contrast

On white

2.21
#BFB042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#BFB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB042
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB042#FFFFFF#000000##000000
##BFB0421.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#C4B148
Tritanopia (blue-blind)
#CDA499
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfb042;
/* rgb */ color: rgb(191, 176, 66);
/* oklch */ color: oklch(74.9% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#d5c77c',
    500: '#bfb042',
    950: '#000000',
  },
}
SCSS
$custom: #bfb042;
$custom-light: #d5c77c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb042",
  "rgb": {
    "r": 191,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 52.8,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74936,
    "c": 0.12984,
    "h": 101.5
  },
  "luminance": 0.4252
}

Semantic roles & 50–950 ramp

primary
#BFB042
secondary
#9399CA
accent
#5FD94F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFB042

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

Preview Lab → · Contrast checker → · Palette generator →

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