#B5CA26#B5CA26

#B5CA26 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#B5CA26
RGBrgb(181, 202, 38)
HSLhsl(68, 68%, 47%)
HSVhsv(68, 81%, 79%)
CMYKcmyk(10.4%, 0%, 81.2%, 20.8%)
CIE-LABlab(77.40, -26.27, 71.49)
CIE-LCHlch(77.40, 76.16, 110.17°)
OKLaboklab(79.62% -0.0799 0.1551)
OKLCHoklch(79.62% 0.174 117.3)
XYZxyz(40.5275, 52.2053, 9.7750)
Luminance0.5221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CA26 #3B26CA
analogous
#CA8D26 #B5CA26 #63CA26
triadic
#B5CA26 #26B5CA #CA26B5
tetradic
#B5CA26 #26CA8D #3B26CA #CA2663
square
#B5CA26 #26CA8D #3B26CA #CA2663
split-complementary
#B5CA26 #2663CA #8D26CA
monochromatic
#596313 #87961C #B5CA26 #CCDE4F #DBE883

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5CA26#FFFFFF#000000##000000
##B5CA261.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)
#D6C037
Tritanopia (blue-blind)
#C1BEAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b5ca26;
/* rgb */ color: rgb(181, 202, 38);
/* oklch */ color: oklch(79.6% 0.174 117.3);
Tailwind
colors: {
  custom: {
    50: '#cfda71',
    500: '#b5ca26',
    950: '#000000',
  },
}
SCSS
$custom: #b5ca26;
$custom-light: #cfda71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ca26",
  "rgb": {
    "r": 181,
    "g": 202,
    "b": 38
  },
  "hsl": {
    "h": 67.683,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.79624,
    "c": 0.17443,
    "h": 117.3
  },
  "luminance": 0.52205
}

Semantic roles & 50–950 ramp

primary
#B5CA26
secondary
#30276E
accent
#3DEB53
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5CA26

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

Preview Lab → · Contrast checker → · Palette generator →

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