#BFAB4B#BFAB4B

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

Color values

HEX#BFAB4B
RGBrgb(191, 171, 75)
HSLhsl(50, 48%, 52%)
HSVhsv(50, 61%, 75%)
CMYKcmyk(0%, 10.5%, 60.7%, 25.1%)
CIE-LABlab(69.97, -4.44, 50.90)
CIE-LCHlch(69.97, 51.10, 94.99°)
OKLaboklab(73.97% -0.0157 0.1172)
OKLCHoklch(73.97% 0.118 97.6)
XYZxyz(37.3203, 40.7119, 12.5476)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB4B #4B5FBF
analogous
#BF714B #BFAB4B #99BF4B
triadic
#BFAB4B #4BBFAB #AB4BBF
tetradic
#BFAB4B #4BBF71 #4B5FBF #BF4B99
square
#BFAB4B #4BBF71 #4B5FBF #BF4B99
split-complementary
#BFAB4B #4B99BF #714BBF
monochromatic
#6A5E26 #978636 #BFAB4B #CFC078 #DFD5A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAB4B#FFFFFF#000000##000000
##BFAB4B1.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)
#BAA741
Deuteranopia (green-blind)
#C0AE50
Tritanopia (blue-blind)
#CD9F96
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab4b;
/* rgb */ color: rgb(191, 171, 75);
/* oklch */ color: oklch(74.0% 0.118 97.6);
Tailwind
colors: {
  custom: {
    50: '#d5c381',
    500: '#bfab4b',
    950: '#000000',
  },
}
SCSS
$custom: #bfab4b;
$custom-light: #d5c381;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab4b",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 75
  },
  "hsl": {
    "h": 49.655,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73966,
    "c": 0.11824,
    "h": 97.6
  },
  "luminance": 0.4071
}

Semantic roles & 50–950 ramp

primary
#BFAB4B
secondary
#9AA2CC
accent
#68D751
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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