#BFAB4C#BFAB4C

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

Color values

HEX#BFAB4C
RGBrgb(191, 171, 76)
HSLhsl(50, 47%, 52%)
HSVhsv(50, 60%, 75%)
CMYKcmyk(0%, 10.5%, 60.2%, 25.1%)
CIE-LABlab(69.98, -4.37, 50.45)
CIE-LCHlch(69.98, 50.64, 94.95°)
OKLaboklab(73.98% -0.0153 0.1164)
OKLCHoklch(73.98% 0.117 97.5)
XYZxyz(37.3548, 40.7257, 12.7293)
Luminance0.4072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB4C #4C60BF
analogous
#BF714C #BFAB4C #9ABF4C
triadic
#BFAB4C #4CBFAB #AB4CBF
tetradic
#BFAB4C #4CBF71 #4C60BF #BF4C9A
square
#BFAB4C #4CBF71 #4C60BF #BF4C9A
split-complementary
#BFAB4C #4C9ABF #714CBF
monochromatic
#6B5F26 #988736 #BFAB4C #CFC079 #DFD5A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAB4C#FFFFFF#000000##000000
##BFAB4C1.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)
#BAA742
Deuteranopia (green-blind)
#C0AE51
Tritanopia (blue-blind)
#CD9F96
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab4c;
/* rgb */ color: rgb(191, 171, 76);
/* oklch */ color: oklch(74.0% 0.117 97.5);
Tailwind
colors: {
  custom: {
    50: '#d5c381',
    500: '#bfab4c',
    950: '#000000',
  },
}
SCSS
$custom: #bfab4c;
$custom-light: #d5c381;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab4c",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 76
  },
  "hsl": {
    "h": 49.565,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.73976,
    "c": 0.11738,
    "h": 97.5
  },
  "luminance": 0.40724
}

Semantic roles & 50–950 ramp

primary
#BFAB4C
secondary
#9AA3CC
accent
#68D751
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #BFAB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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