#B5BB23#B5BB23

#B5BB23 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#B5BB23
RGBrgb(181, 187, 35)
HSLhsl(62, 68%, 44%)
HSVhsv(62, 81%, 73%)
CMYKcmyk(3.2%, 0%, 81.3%, 26.7%)
CIE-LABlab(73.21, -19.02, 68.63)
CIE-LCHlch(73.21, 71.21, 105.49°)
OKLaboklab(76.26% -0.0601 0.1484)
OKLCHoklch(76.26% 0.16 112.1)
XYZxyz(37.1311, 45.4867, 8.4136)
Luminance0.4549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB23 #2923BB
analogous
#BB7523 #B5BB23 #69BB23
triadic
#B5BB23 #23B5BB #BB23B5
tetradic
#B5BB23 #23BB75 #2923BB #BB2369
square
#B5BB23 #23BB75 #2923BB #BB2369
split-complementary
#B5BB23 #2369BB #7523BB
monochromatic
#515410 #838719 #B5BB23 #D5DB40 #E0E574

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BB23#FFFFFF#000000##000000
##B5BB231.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)
#CAB532
Tritanopia (blue-blind)
#C2AFA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5bb23;
/* rgb */ color: rgb(181, 187, 35);
/* oklch */ color: oklch(76.3% 0.160 112.1);
Tailwind
colors: {
  custom: {
    50: '#cfcf6e',
    500: '#b5bb23',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb23;
$custom-light: #cfcf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb23",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 35
  },
  "hsl": {
    "h": 62.368,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76255,
    "c": 0.16012,
    "h": 112.1
  },
  "luminance": 0.45486
}

Semantic roles & 50–950 ramp

primary
#B5BB23
secondary
#726ECC
accent
#3CEB43
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5BB23

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

Preview Lab → · Contrast checker → · Palette generator →

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