#BFB252#BFB252

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

Color values

HEX#BFB252
RGBrgb(191, 178, 82)
HSLhsl(53, 46%, 54%)
HSVhsv(53, 57%, 75%)
CMYKcmyk(0%, 6.8%, 57.1%, 25.1%)
CIE-LABlab(71.91, -7.60, 49.84)
CIE-LCHlch(71.91, 50.41, 98.68°)
OKLaboklab(75.52% -0.0239 0.1158)
OKLCHoklch(75.52% 0.118 101.7)
XYZxyz(38.9306, 43.5278, 14.3320)
Luminance0.4353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB252 #525FBF
analogous
#BF7B52 #BFB252 #95BF52
triadic
#BFB252 #52BFB2 #B252BF
tetradic
#BFB252 #52BF7B #525FBF #BF5295
square
#BFB252 #52BF7B #525FBF #BF5295
split-complementary
#BFB252 #5295BF #7B52BF
monochromatic
#6E6629 #9B8F39 #BFB252 #D0C67F #E0DAAB

Accessibility & contrast

On white

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

On black

9.71
#BFB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB252
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB252#FFFFFF#000000##000000
##BFB2521.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfb252;
/* rgb */ color: rgb(191, 178, 82);
/* oklch */ color: oklch(75.5% 0.118 101.7);
Tailwind
colors: {
  custom: {
    50: '#d5c886',
    500: '#bfb252',
    950: '#000000',
  },
}
SCSS
$custom: #bfb252;
$custom-light: #d5c886;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb252",
  "rgb": {
    "r": 191,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 52.844,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75525,
    "c": 0.11823,
    "h": 101.7
  },
  "luminance": 0.43526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFB252

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

Preview Lab → · Contrast checker → · Palette generator →

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