#B8BF52#B8BF52

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

Color values

HEX#B8BF52
RGBrgb(184, 191, 82)
HSLhsl(64, 46%, 54%)
HSVhsv(64, 57%, 75%)
CMYKcmyk(3.7%, 0%, 57.1%, 25.1%)
CIE-LABlab(74.86, -17.20, 53.01)
CIE-LCHlch(74.86, 55.74, 107.98°)
OKLaboklab(77.74% -0.0508 0.1227)
OKLCHoklch(77.74% 0.133 112.5)
XYZxyz(39.9219, 48.0619, 15.1549)
Luminance0.4806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BF52 #5952BF
analogous
#BF8F52 #B8BF52 #81BF52
triadic
#B8BF52 #52B8BF #BF52B8
tetradic
#B8BF52 #52BF8F #5952BF #BF5281
square
#B8BF52 #52BF8F #5952BF #BF5281
split-complementary
#B8BF52 #5281BF #8F52BF
monochromatic
#696E29 #949B39 #B8BF52 #CAD07F #DDE0AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8BF52#FFFFFF#000000##000000
##B8BF521.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)
#CCB746
Deuteranopia (green-blind)
#CCBA58
Tritanopia (blue-blind)
#C3B5A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b8bf52;
/* rgb */ color: rgb(184, 191, 82);
/* oklch */ color: oklch(77.7% 0.133 112.5);
Tailwind
colors: {
  custom: {
    50: '#d0d286',
    500: '#b8bf52',
    950: '#000000',
  },
}
SCSS
$custom: #b8bf52;
$custom-light: #d0d286;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bf52",
  "rgb": {
    "r": 184,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 63.853,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77736,
    "c": 0.13284,
    "h": 112.5
  },
  "luminance": 0.48061
}

Semantic roles & 50–950 ramp

primary
#B8BF52
secondary
#A29FCE
accent
#52D65B
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #B8BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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