#BFB152#BFB152

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

Color values

HEX#BFB152
RGBrgb(191, 177, 82)
HSLhsl(52, 46%, 54%)
HSVhsv(52, 57%, 75%)
CMYKcmyk(0%, 7.3%, 57.1%, 25.1%)
CIE-LABlab(71.64, -7.08, 49.53)
CIE-LCHlch(71.64, 50.03, 98.14°)
OKLaboklab(75.31% -0.0224 0.1151)
OKLCHoklch(75.31% 0.117 101)
XYZxyz(38.7323, 43.1313, 14.2660)
Luminance0.4313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB152 #5260BF
analogous
#BF7A52 #BFB152 #96BF52
triadic
#BFB152 #52BFB1 #B152BF
tetradic
#BFB152 #52BF7A #5260BF #BF5296
square
#BFB152 #52BF7A #5260BF #BF5296
split-complementary
#BFB152 #5296BF #7A52BF
monochromatic
#6E6529 #9B8E39 #BFB152 #D0C57F #E0D9AB

Accessibility & contrast

On white

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

On black

9.63
#BFB152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB152
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB152#FFFFFF#000000##000000
##BFB1521.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfb152;
/* rgb */ color: rgb(191, 177, 82);
/* oklch */ color: oklch(75.3% 0.117 101.0);
Tailwind
colors: {
  custom: {
    50: '#d5c886',
    500: '#bfb152',
    950: '#000000',
  },
}
SCSS
$custom: #bfb152;
$custom-light: #d5c886;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb152",
  "rgb": {
    "r": 191,
    "g": 177,
    "b": 82
  },
  "hsl": {
    "h": 52.294,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75312,
    "c": 0.1173,
    "h": 101
  },
  "luminance": 0.4313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFB152

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

Preview Lab → · Contrast checker → · Palette generator →

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