#BFA72D#BFA72D

#BFA72D is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.9% C 0.137 H 97.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#BFA72D
RGBrgb(191, 167, 45)
HSLhsl(50, 62%, 46%)
HSVhsv(50, 76%, 75%)
CMYKcmyk(0%, 12.6%, 76.4%, 25.1%)
CIE-LABlab(68.68, -3.99, 61.87)
CIE-LCHlch(68.68, 61.99, 93.69°)
OKLaboklab(72.87% -0.0177 0.1354)
OKLCHoklch(72.87% 0.137 97.5)
XYZxyz(35.7801, 38.9051, 8.1069)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA72D #2D45BF
analogous
#BF5E2D #BFA72D #8EBF2D
triadic
#BFA72D #2DBFA7 #A72DBF
tetradic
#BFA72D #2DBF5E #2D45BF #BF2D8E
square
#BFA72D #2DBF5E #2D45BF #BF2D8E
split-complementary
#BFA72D #2D8EBF #5E2DBF
monochromatic
#5C5016 #8D7C21 #BFA72D #D6C153 #E2D384

Accessibility & contrast

On white

2.39
#BFA72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#BFA72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA72D
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA72D#FFFFFF#000000##000000
##BFA72D1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A314
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#CE9A90
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa72d;
/* rgb */ color: rgb(191, 167, 45);
/* oklch */ color: oklch(72.9% 0.137 97.5);
Tailwind
colors: {
  custom: {
    50: '#d6c070',
    500: '#bfa72d',
    950: '#000000',
  },
}
SCSS
$custom: #bfa72d;
$custom-light: #d6c070;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa72d",
  "rgb": {
    "r": 191,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 50.137,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7287,
    "c": 0.13651,
    "h": 97.5
  },
  "luminance": 0.38903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFA72D

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

Preview Lab → · Contrast checker → · Palette generator →

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