#BFA52E#BFA52E

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

Color values

HEX#BFA52E
RGBrgb(191, 165, 46)
HSLhsl(49, 61%, 46%)
HSVhsv(49, 76%, 75%)
CMYKcmyk(0%, 13.6%, 75.9%, 25.1%)
CIE-LABlab(68.16, -2.88, 61.02)
CIE-LCHlch(68.16, 61.09, 92.70°)
OKLaboklab(72.46% -0.0145 0.1338)
OKLCHoklch(72.46% 0.135 96.2)
XYZxyz(35.4360, 38.1858, 8.0883)
Luminance0.3818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA52E #2E48BF
analogous
#BF5D2E #BFA52E #91BF2E
triadic
#BFA52E #2EBFA5 #A52EBF
tetradic
#BFA52E #2EBF5D #2E48BF #BF2E91
square
#BFA52E #2EBF5D #2E48BF #BF2E91
split-complementary
#BFA52E #2E91BF #5D2EBF
monochromatic
#5C5016 #8E7A22 #BFA52E #D6BF54 #E2D186

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #bfa52e;
/* rgb */ color: rgb(191, 165, 46);
/* oklch */ color: oklch(72.5% 0.135 96.2);
Tailwind
colors: {
  custom: {
    50: '#d6bf70',
    500: '#bfa52e',
    950: '#000000',
  },
}
SCSS
$custom: #bfa52e;
$custom-light: #d6bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa52e",
  "rgb": {
    "r": 191,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 49.241,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72456,
    "c": 0.13454,
    "h": 96.2
  },
  "luminance": 0.38184
}

Semantic roles & 50–950 ramp

primary
#BFA52E
secondary
#7E8CCB
accent
#60E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA52E

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

Preview Lab → · Contrast checker → · Palette generator →

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