#B5BB52#B5BB52

#B5BB52 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.6% C 0.129 H 112.1°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#B5BB52
RGBrgb(181, 187, 82)
HSLhsl(63, 44%, 53%)
HSVhsv(63, 56%, 73%)
CMYKcmyk(3.2%, 0%, 56.1%, 26.7%)
CIE-LABlab(73.53, -16.43, 51.45)
CIE-LCHlch(73.53, 54.01, 107.71°)
OKLaboklab(76.61% -0.0484 0.1195)
OKLCHoklch(76.61% 0.129 112.1)
XYZxyz(38.3503, 45.9744, 14.8347)
Luminance0.4597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB52 #5852BB
analogous
#BB8D52 #B5BB52 #80BB52
triadic
#B5BB52 #52B5BB #BB52B5
tetradic
#B5BB52 #52BB8D #5852BB #BB5280
square
#B5BB52 #52BB8D #5852BB #BB5280
split-complementary
#B5BB52 #5280BB #8D52BB
monochromatic
#666929 #90953B #B5BB52 #C8CC7E #DBDEAA

Accessibility & contrast

On white

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

On black

10.19
#B5BB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB52
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB52#FFFFFF#000000##000000
##B5BB521.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5bb52;
/* rgb */ color: rgb(181, 187, 82);
/* oklch */ color: oklch(76.6% 0.129 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdcf86',
    500: '#b5bb52',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb52;
$custom-light: #cdcf86;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb52",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 63.429,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76611,
    "c": 0.12889,
    "h": 112.1
  },
  "luminance": 0.45974
}

Semantic roles & 50–950 ramp

primary
#B5BB52
secondary
#A09ECB
accent
#54D35C
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B5BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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