#B5D42C#B5D42C

#B5D42C is a light, vivid yellow-green. Relative luminance 0.571; OKLCH L 81.9% C 0.183 H 120.2°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#B5D42C
RGBrgb(181, 212, 44)
HSLhsl(71, 66%, 50%)
HSVhsv(71, 79%, 83%)
CMYKcmyk(14.6%, 0%, 79.2%, 16.9%)
CIE-LABlab(80.23, -30.79, 72.39)
CIE-LCHlch(80.23, 78.67, 113.04°)
OKLaboklab(81.91% -0.0919 0.158)
OKLCHoklch(81.91% 0.183 120.2)
XYZxyz(43.0550, 57.0927, 11.1342)
Luminance0.5709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D42C #4B2CD4
analogous
#D49F2C #B5D42C #61D42C
triadic
#B5D42C #2CB5D4 #D42CB5
tetradic
#B5D42C #2CD49F #4B2CD4 #D42C61
square
#B5D42C #2CD49F #4B2CD4 #D42C61
split-complementary
#B5D42C #2C61D4 #9F2CD4
monochromatic
#5F6F17 #8AA221 #B5D42C #C7DE5F #D9E992

Accessibility & contrast

On white

1.69
#B5D42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#B5D42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D42C
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D42C#FFFFFF#000000##000000
##B5D42C1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C700
Deuteranopia (green-blind)
#DEC73D
Tritanopia (blue-blind)
#C0C8B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #b5d42c;
/* rgb */ color: rgb(181, 212, 44);
/* oklch */ color: oklch(81.9% 0.183 120.2);
Tailwind
colors: {
  custom: {
    50: '#cfe174',
    500: '#b5d42c',
    950: '#000000',
  },
}
SCSS
$custom: #b5d42c;
$custom-light: #cfe174;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d42c",
  "rgb": {
    "r": 181,
    "g": 212,
    "b": 44
  },
  "hsl": {
    "h": 71.071,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.8191,
    "c": 0.18276,
    "h": 120.2
  },
  "luminance": 0.57093
}

Semantic roles & 50–950 ramp

primary
#B5D42C
secondary
#3A2C78
accent
#3FE95E
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B5D42C

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

Preview Lab → · Contrast checker → · Palette generator →

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