#B5BB54#B5BB54

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

Color values

HEX#B5BB54
RGBrgb(181, 187, 84)
HSLhsl(63, 43%, 53%)
HSVhsv(63, 55%, 73%)
CMYKcmyk(3.2%, 0%, 55.1%, 26.7%)
CIE-LABlab(73.55, -16.27, 50.55)
CIE-LCHlch(73.55, 53.10, 107.84°)
OKLaboklab(76.63% -0.0478 0.1178)
OKLCHoklch(76.63% 0.127 112.1)
XYZxyz(38.4275, 46.0053, 15.2414)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB54 #5A54BB
analogous
#BB8D54 #B5BB54 #81BB54
triadic
#B5BB54 #54B5BB #BB54B5
tetradic
#B5BB54 #54BB8D #5A54BB #BB5481
square
#B5BB54 #54BB8D #5A54BB #BB5481
split-complementary
#B5BB54 #5481BB #8D54BB
monochromatic
#676A2A #91963C #B5BB54 #C8CC80 #DBDEAC

Accessibility & contrast

On white

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

On black

10.20
#B5BB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB54
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB54#FFFFFF#000000##000000
##B5BB541.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5bb54;
/* rgb */ color: rgb(181, 187, 84);
/* oklch */ color: oklch(76.6% 0.127 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdcf87',
    500: '#b5bb54',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb54;
$custom-light: #cdcf87;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb54",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 84
  },
  "hsl": {
    "h": 63.495,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76634,
    "c": 0.12707,
    "h": 112.1
  },
  "luminance": 0.46004
}

Semantic roles & 50–950 ramp

primary
#B5BB54
secondary
#A29FCC
accent
#55D35C
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B5BB54

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

Preview Lab → · Contrast checker → · Palette generator →

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