#BFAB5A#BFAB5A

#BFAB5A is a light, moderate yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.104 H 95.8°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#BFAB5A
RGBrgb(191, 171, 90)
HSLhsl(48, 44%, 55%)
HSVhsv(48, 53%, 75%)
CMYKcmyk(0%, 10.5%, 52.9%, 25.1%)
CIE-LABlab(70.14, -3.27, 43.91)
CIE-LCHlch(70.14, 44.03, 94.26°)
OKLaboklab(74.15% -0.0105 0.1038)
OKLCHoklch(74.15% 0.104 95.8)
XYZxyz(37.8956, 40.9420, 15.5773)
Luminance0.4094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB5A #5A6EBF
analogous
#BF795A #BFAB5A #A0BF5A
triadic
#BFAB5A #5ABFAB #AB5ABF
tetradic
#BFAB5A #5ABF79 #5A6EBF #BF5AA0
square
#BFAB5A #5ABF79 #5A6EBF #BF5AA0
split-complementary
#BFAB5A #5AA0BF #795ABF
monochromatic
#72642C #9E8B3D #BFAB5A #D0C186 #E1D8B2

Accessibility & contrast

On white

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

On black

9.19
#BFAB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB5A
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB5A#FFFFFF#000000##000000
##BFAB5A1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A853
Deuteranopia (green-blind)
#BFAE5D
Tritanopia (blue-blind)
#CCA098
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab5a;
/* rgb */ color: rgb(191, 171, 90);
/* oklch */ color: oklch(74.1% 0.104 95.8);
Tailwind
colors: {
  custom: {
    50: '#d4c38b',
    500: '#bfab5a',
    950: '#000000',
  },
}
SCSS
$custom: #bfab5a;
$custom-light: #d4c38b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab5a",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 90
  },
  "hsl": {
    "h": 48.119,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.74146,
    "c": 0.10432,
    "h": 95.8
  },
  "luminance": 0.4094
}

Semantic roles & 50–950 ramp

primary
#BFAB5A
secondary
#A5AED0
accent
#6DD454
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BFAB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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