#BFAB5C#BFAB5C

#BFAB5C is a light, moderate yellow. Relative luminance 0.410; OKLCH L 74.2% C 0.102 H 95.5°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#BFAB5C
RGBrgb(191, 171, 92)
HSLhsl(48, 44%, 55%)
HSVhsv(48, 52%, 75%)
CMYKcmyk(0%, 10.5%, 51.8%, 25.1%)
CIE-LABlab(70.16, -3.09, 42.94)
CIE-LCHlch(70.16, 43.05, 94.12°)
OKLaboklab(74.17% -0.0098 0.1019)
OKLCHoklch(74.17% 0.102 95.5)
XYZxyz(37.9818, 40.9765, 16.0317)
Luminance0.4098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB5C #5C70BF
analogous
#BF795C #BFAB5C #A1BF5C
triadic
#BFAB5C #5CBFAB #AB5CBF
tetradic
#BFAB5C #5CBF79 #5C70BF #BF5CA1
square
#BFAB5C #5CBF79 #5C70BF #BF5CA1
split-complementary
#BFAB5C #5CA1BF #795CBF
monochromatic
#73652D #9F8C3F #BFAB5C #D0C288 #E2D8B4

Accessibility & contrast

On white

2.28
#BFAB5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAB5C#FFFFFF#000000##000000
##BFAB5C1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A855
Deuteranopia (green-blind)
#BEAE5F
Tritanopia (blue-blind)
#CCA199
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab5c;
/* rgb */ color: rgb(191, 171, 92);
/* oklch */ color: oklch(74.2% 0.102 95.5);
Tailwind
colors: {
  custom: {
    50: '#d4c38c',
    500: '#bfab5c',
    950: '#000000',
  },
}
SCSS
$custom: #bfab5c;
$custom-light: #d4c38c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab5c",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 92
  },
  "hsl": {
    "h": 47.879,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.74173,
    "c": 0.10233,
    "h": 95.5
  },
  "luminance": 0.40975
}

Semantic roles & 50–950 ramp

primary
#BFAB5C
secondary
#A7AFD0
accent
#6ED354
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BFAB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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