#BFA829#BFA829

#BFA829 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.1% C 0.139 H 98.3°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#BFA829
RGBrgb(191, 168, 41)
HSLhsl(51, 65%, 45%)
HSVhsv(51, 79%, 75%)
CMYKcmyk(0%, 12%, 78.5%, 25.1%)
CIE-LABlab(68.93, -4.67, 63.43)
CIE-LCHlch(68.93, 63.60, 94.21°)
OKLaboklab(73.06% -0.02 0.1379)
OKLCHoklch(73.06% 0.139 98.3)
XYZxyz(35.8906, 39.2436, 7.7817)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA829 #2940BF
analogous
#BF5D29 #BFA829 #8BBF29
triadic
#BFA829 #29BFA8 #A829BF
tetradic
#BFA829 #29BF5D #2940BF #BF298B
square
#BFA829 #29BF5D #2940BF #BF298B
split-complementary
#BFA829 #298BBF #5D29BF
monochromatic
#5A4F13 #8D7C1E #BFA829 #D9C34D #E4D47F

Accessibility & contrast

On white

2.37
#BFA829 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#BFA829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA829
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA829#FFFFFF#000000##000000
##BFA8291.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A408
Deuteranopia (green-blind)
#BFAC32
Tritanopia (blue-blind)
#CE9B90
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa829;
/* rgb */ color: rgb(191, 168, 41);
/* oklch */ color: oklch(73.1% 0.139 98.3);
Tailwind
colors: {
  custom: {
    50: '#d7c16e',
    500: '#bfa829',
    950: '#000000',
  },
}
SCSS
$custom: #bfa829;
$custom-light: #d7c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa829",
  "rgb": {
    "r": 191,
    "g": 168,
    "b": 41
  },
  "hsl": {
    "h": 50.8,
    "s": 64.655,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73058,
    "c": 0.13935,
    "h": 98.3
  },
  "luminance": 0.39242
}

Semantic roles & 50–950 ramp

primary
#BFA829
secondary
#7885CC
accent
#5AE840
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA829

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

Preview Lab → · Contrast checker → · Palette generator →

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