#BFAB52#BFAB52

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

Color values

HEX#BFAB52
RGBrgb(191, 171, 82)
HSLhsl(49, 46%, 54%)
HSVhsv(49, 57%, 75%)
CMYKcmyk(0%, 10.5%, 57.1%, 25.1%)
CIE-LABlab(70.04, -3.92, 47.70)
CIE-LCHlch(70.04, 47.86, 94.70°)
OKLaboklab(74.05% -0.0133 0.1112)
OKLCHoklch(74.05% 0.112 96.8)
XYZxyz(37.5732, 40.8130, 13.8796)
Luminance0.4081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB52 #5266BF
analogous
#BF7452 #BFAB52 #9CBF52
triadic
#BFAB52 #52BFAB #AB52BF
tetradic
#BFAB52 #52BF74 #5266BF #BF529C
square
#BFAB52 #52BF74 #5266BF #BF529C
split-complementary
#BFAB52 #529CBF #7452BF
monochromatic
#6E6129 #9B8939 #BFAB52 #D0C17F #E0D6AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAB52#FFFFFF#000000##000000
##BFAB521.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)
#BAA749
Deuteranopia (green-blind)
#BFAE56
Tritanopia (blue-blind)
#CDA097
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab52;
/* rgb */ color: rgb(191, 171, 82);
/* oklch */ color: oklch(74.0% 0.112 96.8);
Tailwind
colors: {
  custom: {
    50: '#d5c385',
    500: '#bfab52',
    950: '#000000',
  },
}
SCSS
$custom: #bfab52;
$custom-light: #d5c385;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab52",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 82
  },
  "hsl": {
    "h": 48.991,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.74045,
    "c": 0.11199,
    "h": 96.8
  },
  "luminance": 0.40811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFAB52

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

Preview Lab → · Contrast checker → · Palette generator →

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