#B8BB52#B8BB52

#B8BB52 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.9% C 0.128 H 110.6°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#B8BB52
RGBrgb(184, 187, 82)
HSLhsl(62, 44%, 53%)
HSVhsv(62, 56%, 73%)
CMYKcmyk(1.6%, 0%, 56.1%, 26.7%)
CIE-LABlab(73.77, -15.18, 51.78)
CIE-LCHlch(73.77, 53.96, 106.34°)
OKLaboklab(76.86% -0.0451 0.1201)
OKLCHoklch(76.86% 0.128 110.6)
XYZxyz(39.0615, 46.3411, 14.8681)
Luminance0.4634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BB52 #5552BB
analogous
#BB8952 #B8BB52 #84BB52
triadic
#B8BB52 #52B8BB #BB52B8
tetradic
#B8BB52 #52BB89 #5552BB #BB5284
square
#B8BB52 #52BB89 #5552BB #BB5284
split-complementary
#B8BB52 #5284BB #8952BB
monochromatic
#676929 #93953B #B8BB52 #CACC7E #DCDEAA

Accessibility & contrast

On white

2.05
#B8BB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#B8BB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BB52
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BB52#FFFFFF#000000##000000
##B8BB521.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B447
Deuteranopia (green-blind)
#C9B758
Tritanopia (blue-blind)
#C3B1A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bb52;
/* rgb */ color: rgb(184, 187, 82);
/* oklch */ color: oklch(76.9% 0.128 110.6);
Tailwind
colors: {
  custom: {
    50: '#d0cf86',
    500: '#b8bb52',
    950: '#000000',
  },
}
SCSS
$custom: #b8bb52;
$custom-light: #d0cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bb52",
  "rgb": {
    "r": 184,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 61.714,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76859,
    "c": 0.12828,
    "h": 110.6
  },
  "luminance": 0.4634
}

Semantic roles & 50–950 ramp

primary
#B8BB52
secondary
#9F9ECB
accent
#54D358
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #B8BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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