#B5BB24#B5BB24

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

Color values

HEX#B5BB24
RGBrgb(181, 187, 36)
HSLhsl(62, 68%, 44%)
HSVhsv(62, 81%, 73%)
CMYKcmyk(3.2%, 0%, 80.7%, 26.7%)
CIE-LABlab(73.22, -18.99, 68.37)
CIE-LCHlch(73.22, 70.95, 105.52°)
OKLaboklab(76.26% -0.06 0.148)
OKLCHoklch(76.26% 0.16 112.1)
XYZxyz(37.1461, 45.4927, 8.4929)
Luminance0.4549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB24 #2A24BB
analogous
#BB7524 #B5BB24 #69BB24
triadic
#B5BB24 #24B5BB #BB24B5
tetradic
#B5BB24 #24BB75 #2A24BB #BB2469
square
#B5BB24 #24BB75 #2A24BB #BB2469
split-complementary
#B5BB24 #2469BB #7524BB
monochromatic
#525410 #83881A #B5BB24 #D4DB42 #E0E475

Accessibility & contrast

On white

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

On black

10.10
#B5BB24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB24
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB24#FFFFFF#000000##000000
##B5BB241.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5bb24;
/* rgb */ color: rgb(181, 187, 36);
/* oklch */ color: oklch(76.3% 0.160 112.1);
Tailwind
colors: {
  custom: {
    50: '#cfcf6e',
    500: '#b5bb24',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb24;
$custom-light: #cfcf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb24",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 36
  },
  "hsl": {
    "h": 62.384,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7626,
    "c": 0.1597,
    "h": 112.1
  },
  "luminance": 0.45492
}

Semantic roles & 50–950 ramp

primary
#B5BB24
secondary
#736FCC
accent
#3DEB44
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5BB24

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

Preview Lab → · Contrast checker → · Palette generator →

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