#BFAB58#BFAB58

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

Color values

HEX#BFAB58
RGBrgb(191, 171, 88)
HSLhsl(48, 45%, 55%)
HSVhsv(48, 54%, 75%)
CMYKcmyk(0%, 10.5%, 53.9%, 25.1%)
CIE-LABlab(70.11, -3.44, 44.87)
CIE-LCHlch(70.11, 45.00, 94.38°)
OKLaboklab(74.12% -0.0112 0.1057)
OKLCHoklch(74.12% 0.106 96.1)
XYZxyz(37.8116, 40.9084, 15.1350)
Luminance0.4091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB58 #586CBF
analogous
#BF7858 #BFAB58 #9FBF58
triadic
#BFAB58 #58BFAB #AB58BF
tetradic
#BFAB58 #58BF78 #586CBF #BF589F
square
#BFAB58 #58BF78 #586CBF #BF589F
split-complementary
#BFAB58 #589FBF #7858BF
monochromatic
#71642B #9D8B3C #BFAB58 #D0C184 #E1D8B0

Accessibility & contrast

On white

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

On black

9.18
#BFAB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB58
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB58#FFFFFF#000000##000000
##BFAB581.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfab58;
/* rgb */ color: rgb(191, 171, 88);
/* oklch */ color: oklch(74.1% 0.106 96.1);
Tailwind
colors: {
  custom: {
    50: '#d5c389',
    500: '#bfab58',
    950: '#000000',
  },
}
SCSS
$custom: #bfab58;
$custom-light: #d5c389;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab58",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 88
  },
  "hsl": {
    "h": 48.35,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.74119,
    "c": 0.10629,
    "h": 96.1
  },
  "luminance": 0.40907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFAB58

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

Preview Lab → · Contrast checker → · Palette generator →

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