#B5BB2C#B5BB2C

#B5BB2C is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.3% C 0.156 H 112.0°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#B5BB2C
RGBrgb(181, 187, 44)
HSLhsl(63, 62%, 45%)
HSVhsv(63, 76%, 73%)
CMYKcmyk(3.2%, 0%, 76.5%, 26.7%)
CIE-LABlab(73.25, -18.69, 66.09)
CIE-LCHlch(73.25, 68.68, 105.79°)
OKLaboklab(76.3% -0.0585 0.1446)
OKLCHoklch(76.3% 0.156 112)
XYZxyz(37.2823, 45.5472, 9.2099)
Luminance0.4555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB2C #322CBB
analogous
#BB792C #B5BB2C #6EBB2C
triadic
#B5BB2C #2CB5BB #BB2CB5
tetradic
#B5BB2C #2CBB79 #322CBB #BB2C6E
square
#B5BB2C #2CBB79 #322CBB #BB2C6E
split-complementary
#B5BB2C #2C6EBB #792CBB
monochromatic
#555815 #858920 #B5BB2C #D0D64F #DDE180

Accessibility & contrast

On white

2.08
#B5BB2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#B5BB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB2C
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB2C#FFFFFF#000000##000000
##B5BB2C1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB203
Deuteranopia (green-blind)
#CAB539
Tritanopia (blue-blind)
#C2AFA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5bb2c;
/* rgb */ color: rgb(181, 187, 44);
/* oklch */ color: oklch(76.3% 0.156 112.0);
Tailwind
colors: {
  custom: {
    50: '#cfcf71',
    500: '#b5bb2c',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb2c;
$custom-light: #cfcf71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb2c",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 44
  },
  "hsl": {
    "h": 62.517,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.763,
    "c": 0.15597,
    "h": 112
  },
  "luminance": 0.45546
}

Semantic roles & 50–950 ramp

primary
#B5BB2C
secondary
#7C79CA
accent
#43E54A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5BB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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