#B8BF56#B8BF56

#B8BF56 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.8% C 0.129 H 112.5°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#B8BF56
RGBrgb(184, 191, 86)
HSLhsl(64, 45%, 54%)
HSVhsv(64, 55%, 75%)
CMYKcmyk(3.7%, 0%, 55%, 25.1%)
CIE-LABlab(74.90, -16.89, 51.23)
CIE-LCHlch(74.90, 53.95, 108.24°)
OKLaboklab(77.78% -0.0495 0.1194)
OKLCHoklch(77.78% 0.129 112.5)
XYZxyz(40.0786, 48.1246, 15.9800)
Luminance0.4812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BF56 #5D56BF
analogous
#BF9256 #B8BF56 #84BF56
triadic
#B8BF56 #56B8BF #BF56B8
tetradic
#B8BF56 #56BF92 #5D56BF #BF5684
square
#B8BF56 #56BF92 #5D56BF #BF5684
split-complementary
#B8BF56 #5684BF #9256BF
monochromatic
#6B702A #969D3B #B8BF56 #CBD082 #DDE1AF

Accessibility & contrast

On white

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

On black

10.62
#B8BF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BF56
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BF56#FFFFFF#000000##000000
##B8BF561.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74B
Deuteranopia (green-blind)
#CCBA5C
Tritanopia (blue-blind)
#C3B5A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b8bf56;
/* rgb */ color: rgb(184, 191, 86);
/* oklch */ color: oklch(77.8% 0.129 112.5);
Tailwind
colors: {
  custom: {
    50: '#cfd289',
    500: '#b8bf56',
    950: '#000000',
  },
}
SCSS
$custom: #b8bf56;
$custom-light: #cfd289;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bf56",
  "rgb": {
    "r": 184,
    "g": 191,
    "b": 86
  },
  "hsl": {
    "h": 64,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7778,
    "c": 0.12924,
    "h": 112.5
  },
  "luminance": 0.48124
}

Semantic roles & 50–950 ramp

primary
#B8BF56
secondary
#A5A2CF
accent
#53D55C
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140C
muted
#83827D

Preview Lab

Preview with #B8BF56

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

Preview Lab → · Contrast checker → · Palette generator →

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