#BFAB3A#BFAB3A

#BFAB3A is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.131 H 99.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#BFAB3A
RGBrgb(191, 171, 58)
HSLhsl(51, 53%, 49%)
HSVhsv(51, 70%, 75%)
CMYKcmyk(0%, 10.5%, 69.6%, 25.1%)
CIE-LABlab(69.83, -5.49, 58.10)
CIE-LCHlch(69.83, 58.36, 95.40°)
OKLaboklab(73.81% -0.0206 0.1298)
OKLCHoklch(73.81% 0.131 99)
XYZxyz(36.8142, 40.5094, 9.8821)
Luminance0.4051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB3A #3A4EBF
analogous
#BF683A #BFAB3A #91BF3A
triadic
#BFAB3A #3ABFAB #AB3ABF
tetradic
#BFAB3A #3ABF68 #3A4EBF #BF3A91
square
#BFAB3A #3ABF68 #3A4EBF #BF3A91
split-complementary
#BFAB3A #3A91BF #683ABF
monochromatic
#61571D #90812C #BFAB3A #D0C066 #DFD495

Accessibility & contrast

On white

2.31
#BFAB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#BFAB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB3A
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB3A#FFFFFF#000000##000000
##BFAB3A1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA72A
Deuteranopia (green-blind)
#C1AE41
Tritanopia (blue-blind)
#CE9F94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab3a;
/* rgb */ color: rgb(191, 171, 58);
/* oklch */ color: oklch(73.8% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#d6c377',
    500: '#bfab3a',
    950: '#000000',
  },
}
SCSS
$custom: #bfab3a;
$custom-light: #d6c377;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab3a",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 50.977,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73807,
    "c": 0.13146,
    "h": 99
  },
  "luminance": 0.40508
}

Semantic roles & 50–950 ramp

primary
#BFAB3A
secondary
#8B94CA
accent
#61DD4B
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFAB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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