#BFAB56#BFAB56

#BFAB56 is a light, moderate yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.108 H 96.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#BFAB56
RGBrgb(191, 171, 86)
HSLhsl(49, 45%, 54%)
HSVhsv(49, 55%, 75%)
CMYKcmyk(0%, 10.5%, 55%, 25.1%)
CIE-LABlab(70.09, -3.60, 45.82)
CIE-LCHlch(70.09, 45.96, 94.50°)
OKLaboklab(74.09% -0.0119 0.1076)
OKLCHoklch(74.09% 0.108 96.3)
XYZxyz(37.7299, 40.8757, 14.7047)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB56 #566ABF
analogous
#BF7756 #BFAB56 #9FBF56
triadic
#BFAB56 #56BFAB #AB56BF
tetradic
#BFAB56 #56BF77 #566ABF #BF569F
square
#BFAB56 #56BF77 #566ABF #BF569F
split-complementary
#BFAB56 #569FBF #7756BF
monochromatic
#70632A #9D8A3B #BFAB56 #D0C182 #E1D7AF

Accessibility & contrast

On white

2.29
#BFAB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#BFAB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB56
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB56#FFFFFF#000000##000000
##BFAB561.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84E
Deuteranopia (green-blind)
#BFAE5A
Tritanopia (blue-blind)
#CCA098
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab56;
/* rgb */ color: rgb(191, 171, 86);
/* oklch */ color: oklch(74.1% 0.108 96.3);
Tailwind
colors: {
  custom: {
    50: '#d5c388',
    500: '#bfab56',
    950: '#000000',
  },
}
SCSS
$custom: #bfab56;
$custom-light: #d5c388;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab56",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 86
  },
  "hsl": {
    "h": 48.571,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.74094,
    "c": 0.10822,
    "h": 96.3
  },
  "luminance": 0.40874
}

Semantic roles & 50–950 ramp

primary
#BFAB56
secondary
#A2ABCF
accent
#6CD553
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#15120B
muted
#83817C

Preview Lab

Preview with #BFAB56

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

Preview Lab → · Contrast checker → · Palette generator →

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