#B8BF48#B8BF48

#B8BF48 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.6% C 0.141 H 112.4°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#B8BF48
RGBrgb(184, 191, 72)
HSLhsl(64, 48%, 52%)
HSVhsv(64, 62%, 75%)
CMYKcmyk(3.7%, 0%, 62.3%, 25.1%)
CIE-LABlab(74.77, -17.93, 57.29)
CIE-LCHlch(74.77, 60.03, 107.38°)
OKLaboklab(77.64% -0.0539 0.1305)
OKLCHoklch(77.64% 0.141 112.4)
XYZxyz(39.5687, 47.9207, 13.2948)
Luminance0.4792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BF48 #4F48BF
analogous
#BF8B48 #B8BF48 #7DBF48
triadic
#B8BF48 #48B8BF #BF48B8
tetradic
#B8BF48 #48BF8B #4F48BF #BF487D
square
#B8BF48 #48BF8B #4F48BF #BF487D
split-complementary
#B8BF48 #487DBF #8B48BF
monochromatic
#646824 #909634 #B8BF48 #CACF75 #DBDFA3

Accessibility & contrast

On white

1.98
#B8BF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#B8BF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BF48
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BF48#FFFFFF#000000##000000
##B8BF481.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB739
Deuteranopia (green-blind)
#CDB950
Tritanopia (blue-blind)
#C4B4A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b8bf48;
/* rgb */ color: rgb(184, 191, 72);
/* oklch */ color: oklch(77.6% 0.141 112.4);
Tailwind
colors: {
  custom: {
    50: '#d0d280',
    500: '#b8bf48',
    950: '#000000',
  },
}
SCSS
$custom: #b8bf48;
$custom-light: #d0d280;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bf48",
  "rgb": {
    "r": 184,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 63.529,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77636,
    "c": 0.1412,
    "h": 112.4
  },
  "luminance": 0.4792
}

Semantic roles & 50–950 ramp

primary
#B8BF48
secondary
#9A97CC
accent
#50D858
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #B8BF48

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

Preview Lab → · Contrast checker → · Palette generator →

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