#BFA82D#BFA82D

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

Color values

HEX#BFA82D
RGBrgb(191, 168, 45)
HSLhsl(51, 62%, 46%)
HSVhsv(51, 76%, 75%)
CMYKcmyk(0%, 12%, 76.4%, 25.1%)
CIE-LABlab(68.95, -4.51, 62.11)
CIE-LCHlch(68.95, 62.28, 94.16°)
OKLaboklab(73.08% -0.0192 0.1359)
OKLCHoklch(73.08% 0.137 98.1)
XYZxyz(35.9640, 39.2730, 8.1682)
Luminance0.3927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA82D #2D44BF
analogous
#BF5F2D #BFA82D #8DBF2D
triadic
#BFA82D #2DBFA8 #A82DBF
tetradic
#BFA82D #2DBF5F #2D44BF #BF2D8D
square
#BFA82D #2DBF5F #2D44BF #BF2D8D
split-complementary
#BFA82D #2D8DBF #5F2DBF
monochromatic
#5C5116 #8D7C21 #BFA82D #D6C253 #E2D384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA82D#FFFFFF#000000##000000
##BFA82D1.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)
#B9A413
Deuteranopia (green-blind)
#BFAC35
Tritanopia (blue-blind)
#CE9B91
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa82d;
/* rgb */ color: rgb(191, 168, 45);
/* oklch */ color: oklch(73.1% 0.137 98.1);
Tailwind
colors: {
  custom: {
    50: '#d6c170',
    500: '#bfa82d',
    950: '#000000',
  },
}
SCSS
$custom: #bfa82d;
$custom-light: #d6c170;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa82d",
  "rgb": {
    "r": 191,
    "g": 168,
    "b": 45
  },
  "hsl": {
    "h": 50.548,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73081,
    "c": 0.13723,
    "h": 98.1
  },
  "luminance": 0.39271
}

Semantic roles & 50–950 ramp

primary
#BFA82D
secondary
#7C89CB
accent
#5CE543
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA82D

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

Preview Lab → · Contrast checker → · Palette generator →

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