#BFB251#BFB251

#BFB251 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.5% C 0.119 H 101.7°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#BFB251
RGBrgb(191, 178, 81)
HSLhsl(53, 46%, 53%)
HSVhsv(53, 58%, 75%)
CMYKcmyk(0%, 6.8%, 57.6%, 25.1%)
CIE-LABlab(71.90, -7.68, 50.29)
CIE-LCHlch(71.90, 50.87, 98.68°)
OKLaboklab(75.51% -0.0242 0.1167)
OKLCHoklch(75.51% 0.119 101.7)
XYZxyz(38.8928, 43.5127, 14.1331)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB251 #515EBF
analogous
#BF7B51 #BFB251 #95BF51
triadic
#BFB251 #51BFB2 #B251BF
tetradic
#BFB251 #51BF7B #515EBF #BF5195
square
#BFB251 #51BF7B #515EBF #BF5195
split-complementary
#BFB251 #5195BF #7B51BF
monochromatic
#6D6528 #9A8F39 #BFB251 #CFC67E #E0DAAA

Accessibility & contrast

On white

2.16
#BFB251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#BFB251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB251
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB251#FFFFFF#000000##000000
##BFB2511.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD47
Deuteranopia (green-blind)
#C5B356
Tritanopia (blue-blind)
#CCA79D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bfb251;
/* rgb */ color: rgb(191, 178, 81);
/* oklch */ color: oklch(75.5% 0.119 101.7);
Tailwind
colors: {
  custom: {
    50: '#d5c885',
    500: '#bfb251',
    950: '#000000',
  },
}
SCSS
$custom: #bfb251;
$custom-light: #d5c885;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb251",
  "rgb": {
    "r": 191,
    "g": 178,
    "b": 81
  },
  "hsl": {
    "h": 52.909,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75513,
    "c": 0.11914,
    "h": 101.7
  },
  "luminance": 0.43511
}

Semantic roles & 50–950 ramp

primary
#BFB251
secondary
#9EA4CE
accent
#62D652
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #BFB251

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

Preview Lab → · Contrast checker → · Palette generator →

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