#BFAB4A#BFAB4A

#BFAB4A is a light, moderate yellow. Relative luminance 0.407; OKLCH L 74.0% C 0.119 H 97.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#BFAB4A
RGBrgb(191, 171, 74)
HSLhsl(50, 48%, 52%)
HSVhsv(50, 61%, 75%)
CMYKcmyk(0%, 10.5%, 61.3%, 25.1%)
CIE-LABlab(69.96, -4.51, 51.35)
CIE-LCHlch(69.96, 51.55, 95.02°)
OKLaboklab(73.96% -0.016 0.118)
OKLCHoklch(73.96% 0.119 97.7)
XYZxyz(37.2863, 40.6983, 12.3688)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB4A #4A5EBF
analogous
#BF714A #BFAB4A #98BF4A
triadic
#BFAB4A #4ABFAB #AB4ABF
tetradic
#BFAB4A #4ABF71 #4A5EBF #BF4A98
square
#BFAB4A #4ABF71 #4A5EBF #BF4A98
split-complementary
#BFAB4A #4A98BF #714ABF
monochromatic
#695E25 #978635 #BFAB4A #CFC077 #DFD5A4

Accessibility & contrast

On white

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

On black

9.14
#BFAB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB4A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB4A#FFFFFF#000000##000000
##BFAB4A1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA73F
Deuteranopia (green-blind)
#C0AE4F
Tritanopia (blue-blind)
#CD9F96
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab4a;
/* rgb */ color: rgb(191, 171, 74);
/* oklch */ color: oklch(74.0% 0.119 97.7);
Tailwind
colors: {
  custom: {
    50: '#d5c380',
    500: '#bfab4a',
    950: '#000000',
  },
}
SCSS
$custom: #bfab4a;
$custom-light: #d5c380;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab4a",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 74
  },
  "hsl": {
    "h": 49.744,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73955,
    "c": 0.1191,
    "h": 97.7
  },
  "luminance": 0.40697
}

Semantic roles & 50–950 ramp

primary
#BFAB4A
secondary
#99A2CC
accent
#68D750
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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