#BFAB54#BFAB54

#BFAB54 is a light, moderate yellow. Relative luminance 0.408; OKLCH L 74.1% C 0.110 H 96.6°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#BFAB54
RGBrgb(191, 171, 84)
HSLhsl(49, 46%, 54%)
HSVhsv(49, 56%, 75%)
CMYKcmyk(0%, 10.5%, 56%, 25.1%)
CIE-LABlab(70.07, -3.77, 46.76)
CIE-LCHlch(70.07, 46.91, 94.61°)
OKLaboklab(74.07% -0.0126 0.1094)
OKLCHoklch(74.07% 0.11 96.6)
XYZxyz(37.6504, 40.8439, 14.2862)
Luminance0.4084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB54 #5468BF
analogous
#BF7654 #BFAB54 #9EBF54
triadic
#BFAB54 #54BFAB #AB54BF
tetradic
#BFAB54 #54BF76 #5468BF #BF549E
square
#BFAB54 #54BF76 #5468BF #BF549E
split-complementary
#BFAB54 #549EBF #7654BF
monochromatic
#6F622A #9C893A #BFAB54 #D0C181 #E0D7AD

Accessibility & contrast

On white

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

On black

9.17
#BFAB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB54
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB54#FFFFFF#000000##000000
##BFAB541.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA74C
Deuteranopia (green-blind)
#BFAE58
Tritanopia (blue-blind)
#CCA097
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab54;
/* rgb */ color: rgb(191, 171, 84);
/* oklch */ color: oklch(74.1% 0.110 96.6);
Tailwind
colors: {
  custom: {
    50: '#d5c387',
    500: '#bfab54',
    950: '#000000',
  },
}
SCSS
$custom: #bfab54;
$custom-light: #d5c387;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab54",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 84
  },
  "hsl": {
    "h": 48.785,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74069,
    "c": 0.11013,
    "h": 96.6
  },
  "luminance": 0.40842
}

Semantic roles & 50–950 ramp

primary
#BFAB54
secondary
#A1A9CE
accent
#6BD553
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#15120B
muted
#83817C

Preview Lab

Preview with #BFAB54

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

Preview Lab → · Contrast checker → · Palette generator →

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