#BFAB48#BFAB48

#BFAB48 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.9% C 0.121 H 97.9°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#BFAB48
RGBrgb(191, 171, 72)
HSLhsl(50, 48%, 52%)
HSVhsv(50, 62%, 75%)
CMYKcmyk(0%, 10.5%, 62.3%, 25.1%)
CIE-LABlab(69.95, -4.65, 52.24)
CIE-LCHlch(69.95, 52.45, 95.09°)
OKLaboklab(73.93% -0.0166 0.1196)
OKLCHoklch(73.93% 0.121 97.9)
XYZxyz(37.2200, 40.6718, 12.0195)
Luminance0.4067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB48 #485CBF
analogous
#BF7048 #BFAB48 #98BF48
triadic
#BFAB48 #48BFAB #AB48BF
tetradic
#BFAB48 #48BF70 #485CBF #BF4898
square
#BFAB48 #48BF70 #485CBF #BF4898
split-complementary
#BFAB48 #4898BF #7048BF
monochromatic
#685D24 #968534 #BFAB48 #CFC075 #DFD5A3

Accessibility & contrast

On white

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

On black

9.13
#BFAB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB48
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB48#FFFFFF#000000##000000
##BFAB481.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73D
Deuteranopia (green-blind)
#C0AE4D
Tritanopia (blue-blind)
#CD9F96
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab48;
/* rgb */ color: rgb(191, 171, 72);
/* oklch */ color: oklch(73.9% 0.121 97.9);
Tailwind
colors: {
  custom: {
    50: '#d5c37f',
    500: '#bfab48',
    950: '#000000',
  },
}
SCSS
$custom: #bfab48;
$custom-light: #d5c37f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab48",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 72
  },
  "hsl": {
    "h": 49.916,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73934,
    "c": 0.12079,
    "h": 97.9
  },
  "luminance": 0.4067
}

Semantic roles & 50–950 ramp

primary
#BFAB48
secondary
#97A0CC
accent
#67D850
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAB48

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

Preview Lab → · Contrast checker → · Palette generator →

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