#BFB04D#BFB04D

#BFB04D is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.0% C 0.121 H 100.8°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#BFB04D
RGBrgb(191, 176, 77)
HSLhsl(52, 47%, 53%)
HSVhsv(52, 60%, 75%)
CMYKcmyk(0%, 7.9%, 59.7%, 25.1%)
CIE-LABlab(71.33, -6.93, 51.49)
CIE-LCHlch(71.33, 51.96, 97.67°)
OKLaboklab(75.04% -0.0226 0.1187)
OKLCHoklch(75.04% 0.121 100.8)
XYZxyz(38.3522, 42.6644, 13.2346)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB04D #4D5CBF
analogous
#BF774D #BFB04D #95BF4D
triadic
#BFB04D #4DBFB0 #B04DBF
tetradic
#BFB04D #4DBF77 #4D5CBF #BF4D95
square
#BFB04D #4DBF77 #4D5CBF #BF4D95
split-complementary
#BFB04D #4D95BF #774DBF
monochromatic
#6B6227 #988B37 #BFB04D #CFC47A #DFD8A7

Accessibility & contrast

On white

2.20
#BFB04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#BFB04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB04D
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB04D#FFFFFF#000000##000000
##BFB04D1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB42
Deuteranopia (green-blind)
#C3B152
Tritanopia (blue-blind)
#CDA59A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bfb04d;
/* rgb */ color: rgb(191, 176, 77);
/* oklch */ color: oklch(75.0% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#d5c782',
    500: '#bfb04d',
    950: '#000000',
  },
}
SCSS
$custom: #bfb04d;
$custom-light: #d5c782;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb04d",
  "rgb": {
    "r": 191,
    "g": 176,
    "b": 77
  },
  "hsl": {
    "h": 52.105,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75044,
    "c": 0.12084,
    "h": 100.8
  },
  "luminance": 0.42663
}

Semantic roles & 50–950 ramp

primary
#BFB04D
secondary
#9BA2CD
accent
#63D751
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #BFB04D

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

Preview Lab → · Contrast checker → · Palette generator →

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