#B4BB52#B4BB52

#B4BB52 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.5% C 0.129 H 112.6°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#B4BB52
RGBrgb(180, 187, 82)
HSLhsl(64, 44%, 53%)
HSVhsv(64, 56%, 73%)
CMYKcmyk(3.7%, 0%, 56.1%, 26.7%)
CIE-LABlab(73.45, -16.84, 51.34)
CIE-LCHlch(73.45, 54.03, 108.17°)
OKLaboklab(76.53% -0.0495 0.1192)
OKLCHoklch(76.53% 0.129 112.6)
XYZxyz(38.1166, 45.8539, 14.8238)
Luminance0.4585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BB52 #5952BB
analogous
#BB8D52 #B4BB52 #7FBB52
triadic
#B4BB52 #52B4BB #BB52B4
tetradic
#B4BB52 #52BB8D #5952BB #BB527F
square
#B4BB52 #52BB8D #5952BB #BB527F
split-complementary
#B4BB52 #527FBB #8D52BB
monochromatic
#656929 #8F953B #B4BB52 #C7CC7E #DADEAA

Accessibility & contrast

On white

2.06
#B4BB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#B4BB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BB52
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BB52#FFFFFF#000000##000000
##B4BB521.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B347
Deuteranopia (green-blind)
#C8B658
Tritanopia (blue-blind)
#BFB1A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b4bb52;
/* rgb */ color: rgb(180, 187, 82);
/* oklch */ color: oklch(76.5% 0.129 112.6);
Tailwind
colors: {
  custom: {
    50: '#cdcf86',
    500: '#b4bb52',
    950: '#000000',
  },
}
SCSS
$custom: #b4bb52;
$custom-light: #cdcf86;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bb52",
  "rgb": {
    "r": 180,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 64,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76529,
    "c": 0.12912,
    "h": 112.6
  },
  "luminance": 0.45853
}

Semantic roles & 50–950 ramp

primary
#B4BB52
secondary
#A19ECB
accent
#54D35D
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B4BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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