#BFAB50#BFAB50

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

Color values

HEX#BFAB50
RGBrgb(191, 171, 80)
HSLhsl(49, 46%, 53%)
HSVhsv(49, 58%, 75%)
CMYKcmyk(0%, 10.5%, 58.1%, 25.1%)
CIE-LABlab(70.02, -4.08, 48.63)
CIE-LCHlch(70.02, 48.80, 94.79°)
OKLaboklab(74.02% -0.014 0.113)
OKLCHoklch(74.02% 0.114 97.1)
XYZxyz(37.4982, 40.7830, 13.4846)
Luminance0.4078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB50 #5064BF
analogous
#BF7350 #BFAB50 #9CBF50
triadic
#BFAB50 #50BFAB #AB50BF
tetradic
#BFAB50 #50BF73 #5064BF #BF509C
square
#BFAB50 #50BF73 #5064BF #BF509C
split-complementary
#BFAB50 #509CBF #7350BF
monochromatic
#6D6028 #9A8838 #BFAB50 #CFC17D #E0D6AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAB50#FFFFFF#000000##000000
##BFAB501.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)
#BAA747
Deuteranopia (green-blind)
#BFAE54
Tritanopia (blue-blind)
#CDA097
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab50;
/* rgb */ color: rgb(191, 171, 80);
/* oklch */ color: oklch(74.0% 0.114 97.1);
Tailwind
colors: {
  custom: {
    50: '#d5c384',
    500: '#bfab50',
    950: '#000000',
  },
}
SCSS
$custom: #bfab50;
$custom-light: #d5c384;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab50",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 80
  },
  "hsl": {
    "h": 49.189,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.74021,
    "c": 0.11383,
    "h": 97.1
  },
  "luminance": 0.40781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFAB50

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

Preview Lab → · Contrast checker → · Palette generator →

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