#BFA52D#BFA52D

#BFA52D is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.5% C 0.135 H 96.3°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#BFA52D
RGBrgb(191, 165, 45)
HSLhsl(49, 62%, 46%)
HSVhsv(49, 76%, 75%)
CMYKcmyk(0%, 13.6%, 76.4%, 25.1%)
CIE-LABlab(68.15, -2.92, 61.37)
CIE-LCHlch(68.15, 61.44, 92.73°)
OKLaboklab(72.45% -0.0147 0.1343)
OKLCHoklch(72.45% 0.135 96.3)
XYZxyz(35.4165, 38.1780, 7.9857)
Luminance0.3818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA52D #2D47BF
analogous
#BF5C2D #BFA52D #90BF2D
triadic
#BFA52D #2DBFA5 #A52DBF
tetradic
#BFA52D #2DBF5C #2D47BF #BF2D90
square
#BFA52D #2DBF5C #2D47BF #BF2D90
split-complementary
#BFA52D #2D90BF #5C2DBF
monochromatic
#5C4F16 #8D7A21 #BFA52D #D6BF53 #E2D184

Accessibility & contrast

On white

2.43
#BFA52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#BFA52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA52D
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA52D#FFFFFF#000000##000000
##BFA52D1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A115
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#CE988E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bfa52d;
/* rgb */ color: rgb(191, 165, 45);
/* oklch */ color: oklch(72.5% 0.135 96.3);
Tailwind
colors: {
  custom: {
    50: '#d6bf6f',
    500: '#bfa52d',
    950: '#000000',
  },
}
SCSS
$custom: #bfa52d;
$custom-light: #d6bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa52d",
  "rgb": {
    "r": 191,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 49.315,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7245,
    "c": 0.1351,
    "h": 96.3
  },
  "luminance": 0.38176
}

Semantic roles & 50–950 ramp

primary
#BFA52D
secondary
#7C8BCB
accent
#60E543
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA52D

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

Preview Lab → · Contrast checker → · Palette generator →

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