#BFAB41#BFAB41

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

Color values

HEX#BFAB41
RGBrgb(191, 171, 65)
HSLhsl(50, 50%, 50%)
HSVhsv(50, 66%, 75%)
CMYKcmyk(0%, 10.5%, 66%, 25.1%)
CIE-LABlab(69.88, -5.09, 55.26)
CIE-LCHlch(69.88, 55.49, 95.27°)
OKLaboklab(73.87% -0.0187 0.125)
OKLCHoklch(73.87% 0.126 98.5)
XYZxyz(37.0045, 40.5856, 10.8846)
Luminance0.4058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB41 #4155BF
analogous
#BF6C41 #BFAB41 #94BF41
triadic
#BFAB41 #41BFAB #AB41BF
tetradic
#BFAB41 #41BF6C #4155BF #BF4194
square
#BFAB41 #41BF6C #4155BF #BF4194
split-complementary
#BFAB41 #4194BF #6C41BF
monochromatic
#645922 #928231 #BFAB41 #CEBF6F #DED39D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAB41#FFFFFF#000000##000000
##BFAB411.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)
#BBA734
Deuteranopia (green-blind)
#C0AE47
Tritanopia (blue-blind)
#CD9F95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab41;
/* rgb */ color: rgb(191, 171, 65);
/* oklch */ color: oklch(73.9% 0.126 98.5);
Tailwind
colors: {
  custom: {
    50: '#d6c37b',
    500: '#bfab41',
    950: '#000000',
  },
}
SCSS
$custom: #bfab41;
$custom-light: #d6c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab41",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 50.476,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73867,
    "c": 0.12637,
    "h": 98.5
  },
  "luminance": 0.40584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFAB41

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

Preview Lab → · Contrast checker → · Palette generator →

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