#BFAB51#BFAB51

#BFAB51 is a light, moderate yellow. Relative luminance 0.408; OKLCH L 74.0% C 0.113 H 97.0°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#BFAB51
RGBrgb(191, 171, 81)
HSLhsl(49, 46%, 53%)
HSVhsv(49, 58%, 75%)
CMYKcmyk(0%, 10.5%, 57.6%, 25.1%)
CIE-LABlab(70.03, -4.00, 48.16)
CIE-LCHlch(70.03, 48.33, 94.75°)
OKLaboklab(74.03% -0.0137 0.1121)
OKLCHoklch(74.03% 0.113 97)
XYZxyz(37.5354, 40.7979, 13.6806)
Luminance0.4080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB51 #5165BF
analogous
#BF7451 #BFAB51 #9CBF51
triadic
#BFAB51 #51BFAB #AB51BF
tetradic
#BFAB51 #51BF74 #5165BF #BF519C
square
#BFAB51 #51BF74 #5165BF #BF519C
split-complementary
#BFAB51 #519CBF #7451BF
monochromatic
#6D6128 #9A8839 #BFAB51 #CFC17E #E0D6AA

Accessibility & contrast

On white

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

On black

9.16
#BFAB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB51
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB51#FFFFFF#000000##000000
##BFAB511.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA748
Deuteranopia (green-blind)
#BFAE55
Tritanopia (blue-blind)
#CDA097
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab51;
/* rgb */ color: rgb(191, 171, 81);
/* oklch */ color: oklch(74.0% 0.113 97.0);
Tailwind
colors: {
  custom: {
    50: '#d5c385',
    500: '#bfab51',
    950: '#000000',
  },
}
SCSS
$custom: #bfab51;
$custom-light: #d5c385;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab51",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 49.091,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.74033,
    "c": 0.11291,
    "h": 97
  },
  "luminance": 0.40796
}

Semantic roles & 50–950 ramp

primary
#BFAB51
secondary
#9EA7CE
accent
#6AD652
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #BFAB51

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

Preview Lab → · Contrast checker → · Palette generator →

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