#BFB151#BFB151

#BFB151 is a light, moderate yellow. Relative luminance 0.431; OKLCH L 75.3% C 0.118 H 101.1°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#BFB151
RGBrgb(191, 177, 81)
HSLhsl(52, 46%, 53%)
HSVhsv(52, 58%, 75%)
CMYKcmyk(0%, 7.3%, 57.6%, 25.1%)
CIE-LABlab(71.63, -7.16, 49.99)
CIE-LCHlch(71.63, 50.50, 98.15°)
OKLaboklab(75.3% -0.0227 0.116)
OKLCHoklch(75.3% 0.118 101.1)
XYZxyz(38.6946, 43.1162, 14.0670)
Luminance0.4311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB151 #515FBF
analogous
#BF7A51 #BFB151 #96BF51
triadic
#BFB151 #51BFB1 #B151BF
tetradic
#BFB151 #51BF7A #515FBF #BF5196
square
#BFB151 #51BF7A #515FBF #BF5196
split-complementary
#BFB151 #5196BF #7A51BF
monochromatic
#6D6528 #9A8E39 #BFB151 #CFC57E #E0D9AA

Accessibility & contrast

On white

2.18
#BFB151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#BFB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB151
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB151#FFFFFF#000000##000000
##BFB1511.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC47
Deuteranopia (green-blind)
#C4B256
Tritanopia (blue-blind)
#CCA69C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bfb151;
/* rgb */ color: rgb(191, 177, 81);
/* oklch */ color: oklch(75.3% 0.118 101.1);
Tailwind
colors: {
  custom: {
    50: '#d5c885',
    500: '#bfb151',
    950: '#000000',
  },
}
SCSS
$custom: #bfb151;
$custom-light: #d5c885;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb151",
  "rgb": {
    "r": 191,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 52.364,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75301,
    "c": 0.11821,
    "h": 101.1
  },
  "luminance": 0.43115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFB151

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

Preview Lab → · Contrast checker → · Palette generator →

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