#B5BB2A#B5BB2A

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

Color values

HEX#B5BB2A
RGBrgb(181, 187, 42)
HSLhsl(62, 63%, 45%)
HSVhsv(62, 78%, 73%)
CMYKcmyk(3.2%, 0%, 77.5%, 26.7%)
CIE-LABlab(73.24, -18.77, 66.69)
CIE-LCHlch(73.24, 69.28, 105.72°)
OKLaboklab(76.29% -0.0589 0.1455)
OKLCHoklch(76.29% 0.157 112.1)
XYZxyz(37.2456, 45.5325, 9.0167)
Luminance0.4553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB2A #302ABB
analogous
#BB792A #B5BB2A #6CBB2A
triadic
#B5BB2A #2AB5BB #BB2AB5
tetradic
#B5BB2A #2ABB79 #302ABB #BB2A6C
square
#B5BB2A #2ABB79 #302ABB #BB2A6C
split-complementary
#B5BB2A #2A6CBB #792ABB
monochromatic
#545714 #85891F #B5BB2A #D1D74C #DEE27D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BB2A#FFFFFF#000000##000000
##B5BB2A1.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)
#CAB200
Deuteranopia (green-blind)
#CAB537
Tritanopia (blue-blind)
#C2AFA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5bb2a;
/* rgb */ color: rgb(181, 187, 42);
/* oklch */ color: oklch(76.3% 0.157 112.1);
Tailwind
colors: {
  custom: {
    50: '#cfcf70',
    500: '#b5bb2a',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb2a;
$custom-light: #cfcf70;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb2a",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 42
  },
  "hsl": {
    "h": 62.483,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76289,
    "c": 0.15697,
    "h": 112.1
  },
  "luminance": 0.45532
}

Semantic roles & 50–950 ramp

primary
#B5BB2A
secondary
#7A76CA
accent
#41E648
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5BB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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