#B5CA2A#B5CA2A

#B5CA2A is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.6% C 0.173 H 117.3°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#B5CA2A
RGBrgb(181, 202, 42)
HSLhsl(68, 66%, 48%)
HSVhsv(68, 79%, 79%)
CMYKcmyk(10.4%, 0%, 79.2%, 20.8%)
CIE-LABlab(77.42, -26.13, 70.43)
CIE-LCHlch(77.42, 75.12, 110.35°)
OKLaboklab(79.64% -0.0792 0.1535)
OKLCHoklch(79.64% 0.173 117.3)
XYZxyz(40.5956, 52.2325, 10.1334)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CA2A #3F2ACA
analogous
#CA8F2A #B5CA2A #65CA2A
triadic
#B5CA2A #2AB5CA #CA2AB5
tetradic
#B5CA2A #2ACA8F #3F2ACA #CA2A65
square
#B5CA2A #2ACA8F #3F2ACA #CA2A65
split-complementary
#B5CA2A #2A65CA #8F2ACA
monochromatic
#5A6515 #88971F #B5CA2A #CADC55 #DAE688

Accessibility & contrast

On white

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

On black

11.45
#B5CA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CA2A
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CA2A#FFFFFF#000000##000000
##B5CA2A1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D6C03A
Tritanopia (blue-blind)
#C1BEAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b5ca2a;
/* rgb */ color: rgb(181, 202, 42);
/* oklch */ color: oklch(79.6% 0.173 117.3);
Tailwind
colors: {
  custom: {
    50: '#cfda72',
    500: '#b5ca2a',
    950: '#000000',
  },
}
SCSS
$custom: #b5ca2a;
$custom-light: #cfda72;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ca2a",
  "rgb": {
    "r": 181,
    "g": 202,
    "b": 42
  },
  "hsl": {
    "h": 67.875,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.79642,
    "c": 0.17273,
    "h": 117.3
  },
  "luminance": 0.52232
}

Semantic roles & 50–950 ramp

primary
#B5CA2A
secondary
#32296F
accent
#3FE955
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5CA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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