#B5CA27#B5CA27

#B5CA27 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#B5CA27
RGBrgb(181, 202, 39)
HSLhsl(68, 68%, 47%)
HSVhsv(68, 81%, 79%)
CMYKcmyk(10.4%, 0%, 80.7%, 20.8%)
CIE-LABlab(77.41, -26.23, 71.23)
CIE-LCHlch(77.41, 75.91, 110.22°)
OKLaboklab(79.63% -0.0797 0.1547)
OKLCHoklch(79.63% 0.174 117.3)
XYZxyz(40.5439, 52.2118, 9.8611)
Luminance0.5221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CA27 #3C27CA
analogous
#CA8E27 #B5CA27 #64CA27
triadic
#B5CA27 #27B5CA #CA27B5
tetradic
#B5CA27 #27CA8E #3C27CA #CA2764
square
#B5CA27 #27CA8E #3C27CA #CA2764
split-complementary
#B5CA27 #2764CA #8E27CA
monochromatic
#596313 #87971D #B5CA27 #CBDD51 #DBE784

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b5ca27;
/* rgb */ color: rgb(181, 202, 39);
/* oklch */ color: oklch(79.6% 0.174 117.3);
Tailwind
colors: {
  custom: {
    50: '#cfda71',
    500: '#b5ca27',
    950: '#000000',
  },
}
SCSS
$custom: #b5ca27;
$custom-light: #cfda71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ca27",
  "rgb": {
    "r": 181,
    "g": 202,
    "b": 39
  },
  "hsl": {
    "h": 67.73,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.79629,
    "c": 0.17402,
    "h": 117.3
  },
  "luminance": 0.52211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5CA27

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

Preview Lab → · Contrast checker → · Palette generator →

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