#BFAB42#BFAB42

#BFAB42 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.9% C 0.126 H 98.4°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#BFAB42
RGBrgb(191, 171, 66)
HSLhsl(50, 49%, 50%)
HSVhsv(50, 65%, 75%)
CMYKcmyk(0%, 10.5%, 65.4%, 25.1%)
CIE-LABlab(69.89, -5.03, 54.83)
CIE-LCHlch(69.89, 55.06, 95.25°)
OKLaboklab(73.88% -0.0184 0.1243)
OKLCHoklch(73.88% 0.126 98.4)
XYZxyz(37.0338, 40.5972, 11.0385)
Luminance0.4060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB42 #4256BF
analogous
#BF6C42 #BFAB42 #94BF42
triadic
#BFAB42 #42BFAB #AB42BF
tetradic
#BFAB42 #42BF6C #4256BF #BF4294
square
#BFAB42 #42BF6C #4256BF #BF4294
split-complementary
#BFAB42 #4294BF #6C42BF
monochromatic
#655A22 #928332 #BFAB42 #CEBF70 #DED49D

Accessibility & contrast

On white

2.30
#BFAB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#BFAB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB42
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB42#FFFFFF#000000##000000
##BFAB421.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA735
Deuteranopia (green-blind)
#C0AE48
Tritanopia (blue-blind)
#CD9F95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab42;
/* rgb */ color: rgb(191, 171, 66);
/* oklch */ color: oklch(73.9% 0.126 98.4);
Tailwind
colors: {
  custom: {
    50: '#d5c37b',
    500: '#bfab42',
    950: '#000000',
  },
}
SCSS
$custom: #bfab42;
$custom-light: #d5c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab42",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 50.4,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73876,
    "c": 0.12561,
    "h": 98.4
  },
  "luminance": 0.40596
}

Semantic roles & 50–950 ramp

primary
#BFAB42
secondary
#939BCA
accent
#65D94F
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAB42

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

Preview Lab → · Contrast checker → · Palette generator →

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