#B5BB40#B5BB40

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

Color values

HEX#B5BB40
RGBrgb(181, 187, 64)
HSLhsl(63, 49%, 49%)
HSVhsv(63, 66%, 73%)
CMYKcmyk(3.2%, 0%, 65.8%, 26.7%)
CIE-LABlab(73.37, -17.69, 59.04)
CIE-LCHlch(73.37, 61.63, 106.68°)
OKLaboklab(76.44% -0.0539 0.1331)
OKLCHoklch(76.44% 0.144 112)
XYZxyz(37.7529, 45.7354, 11.6886)
Luminance0.4573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB40 #4640BB
analogous
#BB8440 #B5BB40 #78BB40
triadic
#B5BB40 #40B5BB #BB40B5
tetradic
#B5BB40 #40BB84 #4640BB #BB4078
square
#B5BB40 #40BB84 #4640BB #BB4078
split-complementary
#B5BB40 #4078BB #8440BB
monochromatic
#5D6021 #898D30 #B5BB40 #C8CD6C #D9DC99

Accessibility & contrast

On white

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

On black

10.15
#B5BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB40
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB40#FFFFFF#000000##000000
##B5BB401.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32F
Deuteranopia (green-blind)
#C9B648
Tritanopia (blue-blind)
#C1B0A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5bb40;
/* rgb */ color: rgb(181, 187, 64);
/* oklch */ color: oklch(76.4% 0.144 112.0);
Tailwind
colors: {
  custom: {
    50: '#cecf7b',
    500: '#b5bb40',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb40;
$custom-light: #cecf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb40",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 62.927,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76437,
    "c": 0.14359,
    "h": 112
  },
  "luminance": 0.45735
}

Semantic roles & 50–950 ramp

primary
#B5BB40
secondary
#928FC8
accent
#4FD956
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B5BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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