#BFB142#BFB142

#BFB142 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.1% C 0.131 H 102.1°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#BFB142
RGBrgb(191, 177, 66)
HSLhsl(53, 49%, 50%)
HSVhsv(53, 65%, 75%)
CMYKcmyk(0%, 7.3%, 65.4%, 25.1%)
CIE-LABlab(71.50, -8.18, 56.53)
CIE-LCHlch(71.50, 57.11, 98.23°)
OKLaboklab(75.15% -0.0274 0.1278)
OKLCHoklch(75.15% 0.131 102.1)
XYZxyz(38.1929, 42.9156, 11.4249)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB142 #4250BF
analogous
#BF7242 #BFB142 #8EBF42
triadic
#BFB142 #42BFB1 #B142BF
tetradic
#BFB142 #42BF72 #4250BF #BF428E
square
#BFB142 #42BF72 #4250BF #BF428E
split-complementary
#BFB142 #428EBF #7242BF
monochromatic
#655D22 #928732 #BFB142 #CEC470 #DED79D

Accessibility & contrast

On white

2.19
#BFB142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#BFB142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB142
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB142#FFFFFF#000000##000000
##BFB1421.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC34
Deuteranopia (green-blind)
#C5B248
Tritanopia (blue-blind)
#CDA59A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bfb142;
/* rgb */ color: rgb(191, 177, 66);
/* oklch */ color: oklch(75.1% 0.131 102.1);
Tailwind
colors: {
  custom: {
    50: '#d5c87c',
    500: '#bfb142',
    950: '#000000',
  },
}
SCSS
$custom: #bfb142;
$custom-light: #d5c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb142",
  "rgb": {
    "r": 191,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 53.28,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75149,
    "c": 0.13073,
    "h": 102.1
  },
  "luminance": 0.42914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFB142

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

Preview Lab → · Contrast checker → · Palette generator →

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