#BFAB4E#BFAB4E

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

Color values

HEX#BFAB4E
RGBrgb(191, 171, 78)
HSLhsl(49, 47%, 53%)
HSVhsv(49, 59%, 75%)
CMYKcmyk(0%, 10.5%, 59.2%, 25.1%)
CIE-LABlab(70.00, -4.23, 49.54)
CIE-LCHlch(70.00, 49.72, 94.88°)
OKLaboklab(74% -0.0147 0.1147)
OKLCHoklch(74% 0.116 97.3)
XYZxyz(37.4254, 40.7539, 13.1012)
Luminance0.4075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB4E #4E62BF
analogous
#BF734E #BFAB4E #9ABF4E
triadic
#BFAB4E #4EBFAB #AB4EBF
tetradic
#BFAB4E #4EBF73 #4E62BF #BF4E9A
square
#BFAB4E #4EBF73 #4E62BF #BF4E9A
split-complementary
#BFAB4E #4E9ABF #734EBF
monochromatic
#6C6027 #998737 #BFAB4E #CFC07B #E0D6A8

Accessibility & contrast

On white

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

On black

9.15
#BFAB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB4E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB4E#FFFFFF#000000##000000
##BFAB4E1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA744
Deuteranopia (green-blind)
#C0AE52
Tritanopia (blue-blind)
#CDA096
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab4e;
/* rgb */ color: rgb(191, 171, 78);
/* oklch */ color: oklch(74.0% 0.116 97.3);
Tailwind
colors: {
  custom: {
    50: '#d5c383',
    500: '#bfab4e',
    950: '#000000',
  },
}
SCSS
$custom: #bfab4e;
$custom-light: #d5c383;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab4e",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 49.381,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.73999,
    "c": 0.11562,
    "h": 97.3
  },
  "luminance": 0.40752
}

Semantic roles & 50–950 ramp

primary
#BFAB4E
secondary
#9CA5CD
accent
#69D751
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #BFAB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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