#B5D23B#B5D23B

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

Color values

HEX#B5D23B
RGBrgb(181, 210, 59)
HSLhsl(72, 63%, 53%)
HSVhsv(72, 72%, 82%)
CMYKcmyk(13.8%, 0%, 71.9%, 17.6%)
CIE-LABlab(79.75, -29.18, 67.28)
CIE-LCHlch(79.75, 73.34, 113.45°)
OKLaboklab(81.54% -0.0863 0.1496)
OKLCHoklch(81.54% 0.173 120)
XYZxyz(42.8929, 56.2329, 12.7312)
Luminance0.5623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D23B #583BD2
analogous
#D2A33B #B5D23B #69D23B
triadic
#B5D23B #3BB5D2 #D23BB5
tetradic
#B5D23B #3BD2A3 #583BD2 #D23B69
square
#B5D23B #3BD2A3 #583BD2 #D23B69
split-complementary
#B5D23B #3B69D2 #A33BD2
monochromatic
#66771B #90A927 #B5D23B #C8DD6D #DBE99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5D23B#FFFFFF#000000##000000
##B5D23B1.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)
#DFC61E
Deuteranopia (green-blind)
#DCC648
Tritanopia (blue-blind)
#BFC7B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b5d23b;
/* rgb */ color: rgb(181, 210, 59);
/* oklch */ color: oklch(81.5% 0.173 120.0);
Tailwind
colors: {
  custom: {
    50: '#cfdf7b',
    500: '#b5d23b',
    950: '#000000',
  },
}
SCSS
$custom: #b5d23b;
$custom-light: #cfdf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d23b",
  "rgb": {
    "r": 181,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 71.523,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81543,
    "c": 0.17275,
    "h": 120
  },
  "luminance": 0.56233
}

Semantic roles & 50–950 ramp

primary
#B5D23B
secondary
#41327F
accent
#42E662
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B5D23B

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

Preview Lab → · Contrast checker → · Palette generator →

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