#BFA52F#BFA52F

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

Color values

HEX#BFA52F
RGBrgb(191, 165, 47)
HSLhsl(49, 61%, 47%)
HSVhsv(49, 75%, 75%)
CMYKcmyk(0%, 13.6%, 75.4%, 25.1%)
CIE-LABlab(68.16, -2.84, 60.67)
CIE-LCHlch(68.16, 60.74, 92.68°)
OKLaboklab(72.46% -0.0143 0.1332)
OKLCHoklch(72.46% 0.134 96.1)
XYZxyz(35.4559, 38.1938, 8.1934)
Luminance0.3819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA52F #2F49BF
analogous
#BF5D2F #BFA52F #91BF2F
triadic
#BFA52F #2FBFA5 #A52FBF
tetradic
#BFA52F #2FBF5D #2F49BF #BF2F91
square
#BFA52F #2FBF5D #2F49BF #BF2F91
split-complementary
#BFA52F #2F91BF #5D2FBF
monochromatic
#5D5017 #8E7B23 #BFA52F #D5BE56 #E1D187

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA52F#FFFFFF#000000##000000
##BFA52F1.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)
#B6A119
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#CE988E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bfa52f;
/* rgb */ color: rgb(191, 165, 47);
/* oklch */ color: oklch(72.5% 0.134 96.1);
Tailwind
colors: {
  custom: {
    50: '#d6bf70',
    500: '#bfa52f',
    950: '#000000',
  },
}
SCSS
$custom: #bfa52f;
$custom-light: #d6bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa52f",
  "rgb": {
    "r": 191,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 49.167,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72463,
    "c": 0.13397,
    "h": 96.1
  },
  "luminance": 0.38192
}

Semantic roles & 50–950 ramp

primary
#BFA52F
secondary
#7F8DCB
accent
#61E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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