#BFB248#BFB248

#BFB248 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.4% C 0.127 H 102.3°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#BFB248
RGBrgb(191, 178, 72)
HSLhsl(53, 48%, 52%)
HSVhsv(53, 62%, 75%)
CMYKcmyk(0%, 6.8%, 62.3%, 25.1%)
CIE-LABlab(71.82, -8.32, 54.28)
CIE-LCHlch(71.82, 54.91, 98.72°)
OKLaboklab(75.42% -0.0271 0.124)
OKLCHoklch(75.42% 0.127 102.3)
XYZxyz(38.5774, 43.3865, 12.4720)
Luminance0.4339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB248 #4855BF
analogous
#BF7748 #BFB248 #91BF48
triadic
#BFB248 #48BFB2 #B248BF
tetradic
#BFB248 #48BF77 #4855BF #BF4891
square
#BFB248 #48BF77 #4855BF #BF4891
split-complementary
#BFB248 #4891BF #7748BF
monochromatic
#686124 #968B34 #BFB248 #CFC575 #DFD8A3

Accessibility & contrast

On white

2.17
#BFB248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#BFB248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB248
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB248#FFFFFF#000000##000000
##BFB2481.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3C
Deuteranopia (green-blind)
#C5B34E
Tritanopia (blue-blind)
#CDA69B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bfb248;
/* rgb */ color: rgb(191, 178, 72);
/* oklch */ color: oklch(75.4% 0.127 102.3);
Tailwind
colors: {
  custom: {
    50: '#d5c880',
    500: '#bfb248',
    950: '#000000',
  },
}
SCSS
$custom: #bfb248;
$custom-light: #d5c880;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb248",
  "rgb": {
    "r": 191,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 53.445,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75418,
    "c": 0.1269,
    "h": 102.3
  },
  "luminance": 0.43385
}

Semantic roles & 50–950 ramp

primary
#BFB248
secondary
#979DCC
accent
#5FD850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFB248

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

Preview Lab → · Contrast checker → · Palette generator →

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