#B5CA15#B5CA15

#B5CA15 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.6% C 0.180 H 117.1°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#B5CA15
RGBrgb(181, 202, 21)
HSLhsl(67, 81%, 44%)
HSVhsv(67, 90%, 79%)
CMYKcmyk(10.4%, 0%, 89.6%, 20.8%)
CIE-LABlab(77.35, -26.71, 74.99)
CIE-LCHlch(77.35, 79.60, 109.61°)
OKLaboklab(79.57% -0.082 0.1601)
OKLCHoklch(79.57% 0.18 117.1)
XYZxyz(40.3131, 52.1195, 8.6457)
Luminance0.5212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CA15 #2A15CA
analogous
#CA8415 #B5CA15 #5ACA15
triadic
#B5CA15 #15B5CA #CA15B5
tetradic
#B5CA15 #15CA84 #2A15CA #CA155A
square
#B5CA15 #15CA84 #2A15CA #CA155A
split-complementary
#B5CA15 #155ACA #8415CA
monochromatic
#525B09 #83930F #B5CA15 #D4EA32 #E0EF6A

Accessibility & contrast

On white

1.84
#B5CA15 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#B5CA15 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CA15
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CA15#FFFFFF#000000##000000
##B5CA151.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#D7C02E
Tritanopia (blue-blind)
#C1BEAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b5ca15;
/* rgb */ color: rgb(181, 202, 21);
/* oklch */ color: oklch(79.6% 0.180 117.1);
Tailwind
colors: {
  custom: {
    50: '#d0da6b',
    500: '#b5ca15',
    950: '#000000',
  },
}
SCSS
$custom: #b5ca15;
$custom-light: #d0da6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ca15",
  "rgb": {
    "r": 181,
    "g": 202,
    "b": 21
  },
  "hsl": {
    "h": 66.961,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.79567,
    "c": 0.17992,
    "h": 117.1
  },
  "luminance": 0.52119
}

Semantic roles & 50–950 ramp

primary
#B5CA15
secondary
#251C67
accent
#30F847
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #B5CA15

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

Preview Lab → · Contrast checker → · Palette generator →

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