#B5CA28#B5CA28

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

Color values

HEX#B5CA28
RGBrgb(181, 202, 40)
HSLhsl(68, 67%, 47%)
HSVhsv(68, 80%, 79%)
CMYKcmyk(10.4%, 0%, 80.2%, 20.8%)
CIE-LABlab(77.41, -26.20, 70.97)
CIE-LCHlch(77.41, 75.65, 110.26°)
OKLaboklab(79.63% -0.0796 0.1543)
OKLCHoklch(79.63% 0.174 117.3)
XYZxyz(40.5607, 52.2185, 9.9495)
Luminance0.5222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CA28 #3D28CA
analogous
#CA8E28 #B5CA28 #64CA28
triadic
#B5CA28 #28B5CA #CA28B5
tetradic
#B5CA28 #28CA8E #3D28CA #CA2864
square
#B5CA28 #28CA8E #3D28CA #CA2864
split-complementary
#B5CA28 #2864CA #8E28CA
monochromatic
#596414 #87971E #B5CA28 #CBDD52 #DAE785

Accessibility & contrast

On white

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

On black

11.44
#B5CA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CA28
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CA28#FFFFFF#000000##000000
##B5CA281.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5ca28;
/* rgb */ color: rgb(181, 202, 40);
/* oklch */ color: oklch(79.6% 0.174 117.3);
Tailwind
colors: {
  custom: {
    50: '#cfda71',
    500: '#b5ca28',
    950: '#000000',
  },
}
SCSS
$custom: #b5ca28;
$custom-light: #cfda71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ca28",
  "rgb": {
    "r": 181,
    "g": 202,
    "b": 40
  },
  "hsl": {
    "h": 67.778,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.79633,
    "c": 0.1736,
    "h": 117.3
  },
  "luminance": 0.52218
}

Semantic roles & 50–950 ramp

primary
#B5CA28
secondary
#31286E
accent
#3EEA54
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5CA28

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

Preview Lab → · Contrast checker → · Palette generator →

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