#B5D23C#B5D23C

#B5D23C is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.5% C 0.172 H 120.0°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#B5D23C
RGBrgb(181, 210, 60)
HSLhsl(72, 63%, 53%)
HSVhsv(72, 71%, 82%)
CMYKcmyk(13.8%, 0%, 71.4%, 17.6%)
CIE-LABlab(79.75, -29.13, 66.94)
CIE-LCHlch(79.75, 73.00, 113.52°)
OKLaboklab(81.55% -0.0861 0.1491)
OKLCHoklch(81.55% 0.172 120)
XYZxyz(42.9190, 56.2434, 12.8691)
Luminance0.5624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D23C #593CD2
analogous
#D2A43C #B5D23C #6AD23C
triadic
#B5D23C #3CB5D2 #D23CB5
tetradic
#B5D23C #3CD2A4 #593CD2 #D23C6A
square
#B5D23C #3CD2A4 #593CD2 #D23C6A
split-complementary
#B5D23C #3C6AD2 #A43CD2
monochromatic
#66781C #90AA27 #B5D23C #C8DD6E #DBE99F

Accessibility & contrast

On white

1.71
#B5D23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#B5D23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D23C
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D23C#FFFFFF#000000##000000
##B5D23C1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC620
Deuteranopia (green-blind)
#DCC649
Tritanopia (blue-blind)
#BFC7B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b5d23c;
/* rgb */ color: rgb(181, 210, 60);
/* oklch */ color: oklch(81.5% 0.172 120.0);
Tailwind
colors: {
  custom: {
    50: '#cfdf7b',
    500: '#b5d23c',
    950: '#000000',
  },
}
SCSS
$custom: #b5d23c;
$custom-light: #cfdf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d23c",
  "rgb": {
    "r": 181,
    "g": 210,
    "b": 60
  },
  "hsl": {
    "h": 71.6,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81549,
    "c": 0.17215,
    "h": 120
  },
  "luminance": 0.56243
}

Semantic roles & 50–950 ramp

primary
#B5D23C
secondary
#413280
accent
#42E662
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B5D23C

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

Preview Lab → · Contrast checker → · Palette generator →

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