#BFB72D#BFB72D

#BFB72D is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.3% C 0.150 H 106.0°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#BFB72D
RGBrgb(191, 183, 45)
HSLhsl(57, 62%, 46%)
HSVhsv(57, 76%, 75%)
CMYKcmyk(0%, 4.2%, 76.4%, 25.1%)
CIE-LABlab(72.98, -12.32, 65.83)
CIE-LCHlch(72.98, 66.97, 100.60°)
OKLaboklab(76.29% -0.0412 0.1438)
OKLCHoklch(76.29% 0.15 106)
XYZxyz(38.8946, 45.1343, 9.1451)
Luminance0.4513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB72D #2D35BF
analogous
#BF6E2D #BFB72D #7EBF2D
triadic
#BFB72D #2DBFB7 #B72DBF
tetradic
#BFB72D #2DBF6E #2D35BF #BF2D7E
square
#BFB72D #2DBF6E #2D35BF #BF2D7E
split-complementary
#BFB72D #2D7EBF #6E2DBF
monochromatic
#5C5816 #8D8821 #BFB72D #D6CF53 #E2DD84

Accessibility & contrast

On white

2.09
#BFB72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#BFB72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB72D
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB72D#FFFFFF#000000##000000
##BFB72D1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B009
Deuteranopia (green-blind)
#CAB638
Tritanopia (blue-blind)
#CDAA9D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bfb72d;
/* rgb */ color: rgb(191, 183, 45);
/* oklch */ color: oklch(76.3% 0.150 106.0);
Tailwind
colors: {
  custom: {
    50: '#d6cc71',
    500: '#bfb72d',
    950: '#000000',
  },
}
SCSS
$custom: #bfb72d;
$custom-light: #d6cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb72d",
  "rgb": {
    "r": 191,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 56.712,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76285,
    "c": 0.14959,
    "h": 106
  },
  "luminance": 0.45133
}

Semantic roles & 50–950 ramp

primary
#BFB72D
secondary
#7C81CB
accent
#4CE543
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BFB72D

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

Preview Lab → · Contrast checker → · Palette generator →

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