#BFB342#BFB342

#BFB342 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.6% C 0.133 H 103.2°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#BFB342
RGBrgb(191, 179, 66)
HSLhsl(54, 49%, 50%)
HSVhsv(54, 65%, 75%)
CMYKcmyk(0%, 6.3%, 65.4%, 25.1%)
CIE-LABlab(72.04, -9.22, 57.09)
CIE-LCHlch(72.04, 57.83, 99.17°)
OKLaboklab(75.58% -0.0303 0.129)
OKLCHoklch(75.58% 0.133 103.2)
XYZxyz(38.5908, 43.7114, 11.5576)
Luminance0.4371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB342 #424EBF
analogous
#BF7442 #BFB342 #8CBF42
triadic
#BFB342 #42BFB3 #B342BF
tetradic
#BFB342 #42BF74 #424EBF #BF428C
square
#BFB342 #42BF74 #424EBF #BF428C
split-complementary
#BFB342 #428CBF #7442BF
monochromatic
#655E22 #928932 #BFB342 #CEC570 #DED89D

Accessibility & contrast

On white

2.16
#BFB342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#BFB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB342
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB342#FFFFFF#000000##000000
##BFB3421.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD33
Deuteranopia (green-blind)
#C6B349
Tritanopia (blue-blind)
#CDA79C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bfb342;
/* rgb */ color: rgb(191, 179, 66);
/* oklch */ color: oklch(75.6% 0.133 103.2);
Tailwind
colors: {
  custom: {
    50: '#d5c97c',
    500: '#bfb342',
    950: '#000000',
  },
}
SCSS
$custom: #bfb342;
$custom-light: #d5c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb342",
  "rgb": {
    "r": 191,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 54.24,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75576,
    "c": 0.13254,
    "h": 103.2
  },
  "luminance": 0.4371
}

Semantic roles & 50–950 ramp

primary
#BFB342
secondary
#9398CA
accent
#5CD94F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFB342

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

Preview Lab → · Contrast checker → · Palette generator →

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