#B5CC42#B5CC42

#B5CC42 is a light, vivid yellow-green. Relative luminance 0.534; OKLCH L 80.2% C 0.161 H 118.4°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#B5CC42
RGBrgb(181, 204, 66)
HSLhsl(70, 58%, 53%)
HSVhsv(70, 68%, 80%)
CMYKcmyk(11.3%, 0%, 67.6%, 20%)
CIE-LABlab(78.11, -25.93, 63.11)
CIE-LCHlch(78.11, 68.23, 112.34°)
OKLaboklab(80.24% -0.0767 0.142)
OKLCHoklch(80.24% 0.161 118.4)
XYZxyz(41.6331, 53.4032, 13.2678)
Luminance0.5340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CC42 #5942CC
analogous
#CC9E42 #B5CC42 #70CC42
triadic
#B5CC42 #42B5CC #CC42B5
tetradic
#B5CC42 #42CC9E #5942CC #CC4270
square
#B5CC42 #42CC9E #5942CC #CC4270
split-complementary
#B5CC42 #4270CC #9E42CC
monochromatic
#66741F #90A42C #B5CC42 #C8D972 #DBE6A2

Accessibility & contrast

On white

1.80
#B5CC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#B5CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CC42
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CC42#FFFFFF#000000##000000
##B5CC421.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#C0C1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b5cc42;
/* rgb */ color: rgb(181, 204, 66);
/* oklch */ color: oklch(80.2% 0.161 118.4);
Tailwind
colors: {
  custom: {
    50: '#cedb7e',
    500: '#b5cc42',
    950: '#000000',
  },
}
SCSS
$custom: #b5cc42;
$custom-light: #cedb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cc42",
  "rgb": {
    "r": 181,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 70,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80242,
    "c": 0.16136,
    "h": 118.4
  },
  "luminance": 0.53403
}

Semantic roles & 50–950 ramp

primary
#B5CC42
secondary
#41357D
accent
#47E161
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B5CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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