#B8CA15#B8CA15

#B8CA15 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 79.8% C 0.179 H 116.1°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#B8CA15
RGBrgb(184, 202, 21)
HSLhsl(66, 81%, 44%)
HSVhsv(66, 90%, 79%)
CMYKcmyk(8.9%, 0%, 89.6%, 20.8%)
CIE-LABlab(77.57, -25.46, 75.26)
CIE-LCHlch(77.57, 79.44, 108.69°)
OKLaboklab(79.8% -0.0787 0.1606)
OKLCHoklch(79.8% 0.179 116.1)
XYZxyz(41.0243, 52.4862, 8.6791)
Luminance0.5249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CA15 #2715CA
analogous
#CA8115 #B8CA15 #5DCA15
triadic
#B8CA15 #15B8CA #CA15B8
tetradic
#B8CA15 #15CA81 #2715CA #CA155D
square
#B8CA15 #15CA81 #2715CA #CA155D
split-complementary
#B8CA15 #155DCA #8115CA
monochromatic
#535B09 #86930F #B8CA15 #D8EA32 #E2EF6A

Accessibility & contrast

On white

1.83
#B8CA15 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#B8CA15 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CA15
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CA15#FFFFFF#000000##000000
##B8CA151.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#D7C12E
Tritanopia (blue-blind)
#C4BEAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b8ca15;
/* rgb */ color: rgb(184, 202, 21);
/* oklch */ color: oklch(79.8% 0.179 116.1);
Tailwind
colors: {
  custom: {
    50: '#d2da6b',
    500: '#b8ca15',
    950: '#000000',
  },
}
SCSS
$custom: #b8ca15;
$custom-light: #d2da6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ca15",
  "rgb": {
    "r": 184,
    "g": 202,
    "b": 21
  },
  "hsl": {
    "h": 65.967,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.79797,
    "c": 0.17885,
    "h": 116.1
  },
  "luminance": 0.52486
}

Semantic roles & 50–950 ramp

primary
#B8CA15
secondary
#241C67
accent
#30F844
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #B8CA15

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

Preview Lab → · Contrast checker → · Palette generator →

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