#BFB04F#BFB04F

#BFB04F is a light, moderate yellow. Relative luminance 0.427; OKLCH L 75.1% C 0.119 H 100.6°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#BFB04F
RGBrgb(191, 176, 79)
HSLhsl(52, 47%, 53%)
HSVhsv(52, 59%, 75%)
CMYKcmyk(0%, 7.9%, 58.6%, 25.1%)
CIE-LABlab(71.35, -6.79, 50.59)
CIE-LCHlch(71.35, 51.05, 97.64°)
OKLaboklab(75.07% -0.0219 0.1171)
OKLCHoklch(75.07% 0.119 100.6)
XYZxyz(38.4239, 42.6931, 13.6122)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB04F #4F5EBF
analogous
#BF784F #BFB04F #96BF4F
triadic
#BFB04F #4FBFB0 #B04FBF
tetradic
#BFB04F #4FBF78 #4F5EBF #BF4F96
square
#BFB04F #4FBF78 #4F5EBF #BF4F96
split-complementary
#BFB04F #4F96BF #784FBF
monochromatic
#6C6327 #998C38 #BFB04F #CFC47C #E0D8A9

Accessibility & contrast

On white

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

On black

9.54
#BFB04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB04F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB04F#FFFFFF#000000##000000
##BFB04F1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB45
Deuteranopia (green-blind)
#C3B154
Tritanopia (blue-blind)
#CCA59B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bfb04f;
/* rgb */ color: rgb(191, 176, 79);
/* oklch */ color: oklch(75.1% 0.119 100.6);
Tailwind
colors: {
  custom: {
    50: '#d5c784',
    500: '#bfb04f',
    950: '#000000',
  },
}
SCSS
$custom: #bfb04f;
$custom-light: #d5c784;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb04f",
  "rgb": {
    "r": 191,
    "g": 176,
    "b": 79
  },
  "hsl": {
    "h": 51.964,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75066,
    "c": 0.11908,
    "h": 100.6
  },
  "luminance": 0.42692
}

Semantic roles & 50–950 ramp

primary
#BFB04F
secondary
#9DA3CD
accent
#63D651
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #BFB04F

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

Preview Lab → · Contrast checker → · Palette generator →

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