#BFA52C#BFA52C

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

Color values

HEX#BFA52C
RGBrgb(191, 165, 44)
HSLhsl(49, 63%, 46%)
HSVhsv(49, 77%, 75%)
CMYKcmyk(0%, 13.6%, 77%, 25.1%)
CIE-LABlab(68.15, -2.96, 61.71)
CIE-LCHlch(68.15, 61.78, 92.75°)
OKLaboklab(72.44% -0.0149 0.1348)
OKLCHoklch(72.44% 0.136 96.3)
XYZxyz(35.3975, 38.1704, 7.8855)
Luminance0.3817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA52C #2C46BF
analogous
#BF5B2C #BFA52C #8FBF2C
triadic
#BFA52C #2CBFA5 #A52CBF
tetradic
#BFA52C #2CBF5B #2C46BF #BF2C8F
square
#BFA52C #2CBF5B #2C46BF #BF2C8F
split-complementary
#BFA52C #2C8FBF #5B2CBF
monochromatic
#5C4F15 #8D7A21 #BFA52C #D7BF51 #E2D283

Accessibility & contrast

On white

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

On black

8.63
#BFA52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA52C
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA52C#FFFFFF#000000##000000
##BFA52C1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A113
Deuteranopia (green-blind)
#BDAA34
Tritanopia (blue-blind)
#CF988E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bfa52c;
/* rgb */ color: rgb(191, 165, 44);
/* oklch */ color: oklch(72.4% 0.136 96.3);
Tailwind
colors: {
  custom: {
    50: '#d6bf6f',
    500: '#bfa52c',
    950: '#000000',
  },
}
SCSS
$custom: #bfa52c;
$custom-light: #d6bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa52c",
  "rgb": {
    "r": 191,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 49.388,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72444,
    "c": 0.13566,
    "h": 96.3
  },
  "luminance": 0.38168
}

Semantic roles & 50–950 ramp

primary
#BFA52C
secondary
#7B89CC
accent
#5FE642
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA52C

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

Preview Lab → · Contrast checker → · Palette generator →

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