#B5BB1E#B5BB1E

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

Color values

HEX#B5BB1E
RGBrgb(181, 187, 30)
HSLhsl(62, 72%, 43%)
HSVhsv(62, 84%, 73%)
CMYKcmyk(3.2%, 0%, 84%, 26.7%)
CIE-LABlab(73.19, -19.17, 69.84)
CIE-LCHlch(73.19, 72.42, 105.35°)
OKLaboklab(76.24% -0.0609 0.1502)
OKLCHoklch(76.24% 0.162 112.1)
XYZxyz(37.0621, 45.4591, 8.0502)
Luminance0.4546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB1E #241EBB
analogous
#BB721E #B5BB1E #66BB1E
triadic
#B5BB1E #1EB5BB #BB1EB5
tetradic
#B5BB1E #1EBB72 #241EBB #BB1E66
square
#B5BB1E #1EBB72 #241EBB #BB1E66
split-complementary
#B5BB1E #1E66BB #721EBB
monochromatic
#4F520D #828616 #B5BB1E #D9DF37 #E3E76C

Accessibility & contrast

On white

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

On black

10.09
#B5BB1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB1E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB1E#FFFFFF#000000##000000
##B5BB1E1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5bb1e;
/* rgb */ color: rgb(181, 187, 30);
/* oklch */ color: oklch(76.2% 0.162 112.1);
Tailwind
colors: {
  custom: {
    50: '#cfcf6c',
    500: '#b5bb1e',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb1e;
$custom-light: #cfcf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb1e",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 30
  },
  "hsl": {
    "h": 62.293,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.76235,
    "c": 0.16204,
    "h": 112.1
  },
  "luminance": 0.45458
}

Semantic roles & 50–950 ramp

primary
#B5BB1E
secondary
#6B67CD
accent
#39EF40
background
#FDFCF6
surface
#FAF9EC
border
#D3D2C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B5BB1E

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

Preview Lab → · Contrast checker → · Palette generator →

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