#B4CA15#B4CA15

#B4CA15 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.5% C 0.180 H 117.5°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#B4CA15
RGBrgb(180, 202, 21)
HSLhsl(67, 81%, 44%)
HSVhsv(67, 90%, 79%)
CMYKcmyk(10.9%, 0%, 89.6%, 20.8%)
CIE-LABlab(77.28, -27.13, 74.90)
CIE-LCHlch(77.28, 79.66, 109.91°)
OKLaboklab(79.49% -0.0831 0.16)
OKLCHoklch(79.49% 0.18 117.5)
XYZxyz(40.0794, 51.9990, 8.6348)
Luminance0.5200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CA15 #2B15CA
analogous
#CA8515 #B4CA15 #59CA15
triadic
#B4CA15 #15B4CA #CA15B4
tetradic
#B4CA15 #15CA85 #2B15CA #CA1559
square
#B4CA15 #15CA85 #2B15CA #CA1559
split-complementary
#B4CA15 #1559CA #8515CA
monochromatic
#515B09 #83930F #B4CA15 #D3EA32 #DFEF6A

Accessibility & contrast

On white

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

On black

11.40
#B4CA15 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CA15
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CA15#FFFFFF#000000##000000
##B4CA151.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D6C02E
Tritanopia (blue-blind)
#C0BEAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b4ca15;
/* rgb */ color: rgb(180, 202, 21);
/* oklch */ color: oklch(79.5% 0.180 117.5);
Tailwind
colors: {
  custom: {
    50: '#cfda6b',
    500: '#b4ca15',
    950: '#000000',
  },
}
SCSS
$custom: #b4ca15;
$custom-light: #cfda6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ca15",
  "rgb": {
    "r": 180,
    "g": 202,
    "b": 21
  },
  "hsl": {
    "h": 67.293,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.79491,
    "c": 0.18029,
    "h": 117.5
  },
  "luminance": 0.51999
}

Semantic roles & 50–950 ramp

primary
#B4CA15
secondary
#251C67
accent
#30F848
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D

Preview Lab

Preview with #B4CA15

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

Preview Lab → · Contrast checker → · Palette generator →

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