#B5BB3A#B5BB3A

#B5BB3A is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.4% C 0.148 H 112.0°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#B5BB3A
RGBrgb(181, 187, 58)
HSLhsl(63, 53%, 48%)
HSVhsv(63, 69%, 73%)
CMYKcmyk(3.2%, 0%, 69%, 26.7%)
CIE-LABlab(73.33, -18.03, 61.33)
CIE-LCHlch(73.33, 63.93, 106.38°)
OKLaboklab(76.39% -0.0554 0.137)
OKLCHoklch(76.39% 0.148 112)
XYZxyz(37.5913, 45.6708, 10.8373)
Luminance0.4567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB3A #403ABB
analogous
#BB813A #B5BB3A #74BB3A
triadic
#B5BB3A #3AB5BB #BB3AB5
tetradic
#B5BB3A #3ABB81 #403ABB #BB3A74
square
#B5BB3A #3ABB81 #403ABB #BB3A74
split-complementary
#B5BB3A #3A74BB #813ABB
monochromatic
#5B5E1D #888C2C #B5BB3A #CACF63 #DADD92

Accessibility & contrast

On white

2.07
#B5BB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#B5BB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB3A
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB3A#FFFFFF#000000##000000
##B5BB3A1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B225
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#C1B0A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5bb3a;
/* rgb */ color: rgb(181, 187, 58);
/* oklch */ color: oklch(76.4% 0.148 112.0);
Tailwind
colors: {
  custom: {
    50: '#cecf78',
    500: '#b5bb3a',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb3a;
$custom-light: #cecf78;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb3a",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 62.791,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7639,
    "c": 0.14776,
    "h": 112
  },
  "luminance": 0.4567
}

Semantic roles & 50–950 ramp

primary
#B5BB3A
secondary
#8B88C8
accent
#4CDC52
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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