#B5BB55#B5BB55

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

Color values

HEX#B5BB55
RGBrgb(181, 187, 85)
HSLhsl(64, 43%, 53%)
HSVhsv(64, 55%, 73%)
CMYKcmyk(3.2%, 0%, 54.5%, 26.7%)
CIE-LABlab(73.56, -16.19, 50.10)
CIE-LCHlch(73.56, 52.65, 107.91°)
OKLaboklab(76.65% -0.0474 0.1169)
OKLCHoklch(76.65% 0.126 112.1)
XYZxyz(38.4669, 46.0210, 15.4491)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB55 #5B55BB
analogous
#BB8E55 #B5BB55 #82BB55
triadic
#B5BB55 #55B5BB #BB55B5
tetradic
#B5BB55 #55BB8E #5B55BB #BB5582
square
#B5BB55 #55BB8E #5B55BB #BB5582
split-complementary
#B5BB55 #5582BB #8E55BB
monochromatic
#676B2B #91973C #B5BB55 #C8CC81 #DBDEAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BB55#FFFFFF#000000##000000
##B5BB551.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)
#C8B34B
Deuteranopia (green-blind)
#C8B65B
Tritanopia (blue-blind)
#C0B1A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5bb55;
/* rgb */ color: rgb(181, 187, 85);
/* oklch */ color: oklch(76.6% 0.126 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdcf88',
    500: '#b5bb55',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb55;
$custom-light: #cdcf88;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb55",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 85
  },
  "hsl": {
    "h": 63.529,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76645,
    "c": 0.12615,
    "h": 112.1
  },
  "luminance": 0.4602
}

Semantic roles & 50–950 ramp

primary
#B5BB55
secondary
#A3A0CC
accent
#55D35D
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B5BB55

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

Preview Lab → · Contrast checker → · Palette generator →

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