#B5C916#B5C916

#B5C916 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.3% C 0.179 H 116.8°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#B5C916
RGBrgb(181, 201, 22)
HSLhsl(67, 80%, 44%)
HSVhsv(67, 89%, 79%)
CMYKcmyk(10%, 0%, 89.1%, 21.2%)
CIE-LABlab(77.07, -26.21, 74.60)
CIE-LCHlch(77.07, 79.07, 109.36°)
OKLaboklab(79.34% -0.0806 0.1594)
OKLCHoklch(79.34% 0.179 116.8)
XYZxyz(40.0887, 51.6555, 8.6176)
Luminance0.5165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C916 #2A16C9
analogous
#C98316 #B5C916 #5BC916
triadic
#B5C916 #16B5C9 #C916B5
tetradic
#B5C916 #16C983 #2A16C9 #C9165B
square
#B5C916 #16C983 #2A16C9 #C9165B
split-complementary
#B5C916 #165BC9 #8316C9
monochromatic
#525B0A #839210 #B5C916 #D4E933 #E0EF6B

Accessibility & contrast

On white

1.85
#B5C916 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#B5C916 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C916
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C916#FFFFFF#000000##000000
##B5C9161.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D6BF2E
Tritanopia (blue-blind)
#C1BDAB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b5c916;
/* rgb */ color: rgb(181, 201, 22);
/* oklch */ color: oklch(79.3% 0.179 116.8);
Tailwind
colors: {
  custom: {
    50: '#d0d96c',
    500: '#b5c916',
    950: '#000000',
  },
}
SCSS
$custom: #b5c916;
$custom-light: #d0d96c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c916",
  "rgb": {
    "r": 181,
    "g": 201,
    "b": 22
  },
  "hsl": {
    "h": 66.704,
    "s": 80.269,
    "l": 43.725
  },
  "oklch": {
    "l": 0.79344,
    "c": 0.17863,
    "h": 116.8
  },
  "luminance": 0.51655
}

Semantic roles & 50–950 ramp

primary
#B5C916
secondary
#251D66
accent
#31F747
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #B5C916

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

Preview Lab → · Contrast checker → · Palette generator →

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