#BFAB47#BFAB47

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

Color values

HEX#BFAB47
RGBrgb(191, 171, 71)
HSLhsl(50, 48%, 51%)
HSVhsv(50, 63%, 75%)
CMYKcmyk(0%, 10.5%, 62.8%, 25.1%)
CIE-LABlab(69.94, -4.72, 52.68)
CIE-LCHlch(69.94, 52.89, 95.12°)
OKLaboklab(73.92% -0.0169 0.1204)
OKLCHoklch(73.92% 0.122 98)
XYZxyz(37.1877, 40.6588, 11.8491)
Luminance0.4066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB47 #475BBF
analogous
#BF6F47 #BFAB47 #97BF47
triadic
#BFAB47 #47BFAB #AB47BF
tetradic
#BFAB47 #47BF6F #475BBF #BF4797
square
#BFAB47 #47BF6F #475BBF #BF4797
split-complementary
#BFAB47 #4797BF #6F47BF
monochromatic
#685C24 #958534 #BFAB47 #CFC074 #DFD4A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAB47#FFFFFF#000000##000000
##BFAB471.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)
#BBA73C
Deuteranopia (green-blind)
#C0AE4C
Tritanopia (blue-blind)
#CD9F96
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab47;
/* rgb */ color: rgb(191, 171, 71);
/* oklch */ color: oklch(73.9% 0.122 98.0);
Tailwind
colors: {
  custom: {
    50: '#d5c37e',
    500: '#bfab47',
    950: '#000000',
  },
}
SCSS
$custom: #bfab47;
$custom-light: #d5c37e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab47",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 71
  },
  "hsl": {
    "h": 50,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73924,
    "c": 0.12161,
    "h": 98
  },
  "luminance": 0.40657
}

Semantic roles & 50–950 ramp

primary
#BFAB47
secondary
#969FCB
accent
#67D850
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAB47

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

Preview Lab → · Contrast checker → · Palette generator →

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