#B8BF51#B8BF51

#B8BF51 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.7% C 0.134 H 112.5°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#B8BF51
RGBrgb(184, 191, 81)
HSLhsl(64, 46%, 53%)
HSVhsv(64, 58%, 75%)
CMYKcmyk(3.7%, 0%, 57.6%, 25.1%)
CIE-LABlab(74.85, -17.28, 53.45)
CIE-LCHlch(74.85, 56.18, 107.92°)
OKLaboklab(77.72% -0.0511 0.1236)
OKLCHoklch(77.72% 0.134 112.5)
XYZxyz(39.8841, 48.0468, 14.9559)
Luminance0.4805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BF51 #5851BF
analogous
#BF8F51 #B8BF51 #81BF51
triadic
#B8BF51 #51B8BF #BF51B8
tetradic
#B8BF51 #51BF8F #5851BF #BF5181
square
#B8BF51 #51BF8F #5851BF #BF5181
split-complementary
#B8BF51 #5181BF #8F51BF
monochromatic
#696D28 #949A39 #B8BF51 #CACF7E #DDE0AA

Accessibility & contrast

On white

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

On black

10.61
#B8BF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BF51
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BF51#FFFFFF#000000##000000
##B8BF511.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB745
Deuteranopia (green-blind)
#CCBA57
Tritanopia (blue-blind)
#C3B5A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b8bf51;
/* rgb */ color: rgb(184, 191, 81);
/* oklch */ color: oklch(77.7% 0.134 112.5);
Tailwind
colors: {
  custom: {
    50: '#d0d286',
    500: '#b8bf51',
    950: '#000000',
  },
}
SCSS
$custom: #b8bf51;
$custom-light: #d0d286;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bf51",
  "rgb": {
    "r": 184,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 63.818,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77725,
    "c": 0.13372,
    "h": 112.5
  },
  "luminance": 0.48046
}

Semantic roles & 50–950 ramp

primary
#B8BF51
secondary
#A19ECE
accent
#52D65A
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #B8BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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