#B5E040#B5E040

#B5E040 is a very light, vivid yellow-green. Relative luminance 0.635; OKLCH L 84.7% C 0.186 H 123.6°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#B5E040
RGBrgb(181, 224, 64)
HSLhsl(76, 72%, 56%)
HSVhsv(76, 71%, 88%)
CMYKcmyk(19.2%, 0%, 71.4%, 12.2%)
CIE-LABlab(83.71, -35.40, 69.42)
CIE-LCHlch(83.71, 77.93, 117.02°)
OKLaboklab(84.75% -0.103 0.1549)
OKLCHoklch(84.75% 0.186 123.6)
XYZxyz(46.6376, 63.5049, 14.6502)
Luminance0.6351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5E040 #6B40E0
analogous
#E0BB40 #B5E040 #65E040
triadic
#B5E040 #40B5E0 #E040B5
tetradic
#B5E040 #40E0BB #6B40E0 #E04065
square
#B5E040 #40E0BB #6B40E0 #E04065
split-complementary
#B5E040 #4065E0 #BB40E0
monochromatic
#6E8E17 #97C320 #B5E040 #C9E975 #DEF1A9

Accessibility & contrast

On white

1.53
#B5E040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#B5E040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5E040
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5E040#FFFFFF#000000##000000
##B5E0401.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD222
Deuteranopia (green-blind)
#E7D04E
Tritanopia (blue-blind)
#BED5C1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #b5e040;
/* rgb */ color: rgb(181, 224, 64);
/* oklch */ color: oklch(84.7% 0.186 123.6);
Tailwind
colors: {
  custom: {
    50: '#cfe97f',
    500: '#b5e040',
    950: '#000000',
  },
}
SCSS
$custom: #b5e040;
$custom-light: #cfe97f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5e040",
  "rgb": {
    "r": 181,
    "g": 224,
    "b": 64
  },
  "hsl": {
    "h": 76.125,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84749,
    "c": 0.18605,
    "h": 123.6
  },
  "luminance": 0.63505
}

Semantic roles & 50–950 ramp

primary
#B5E040
secondary
#4B3194
accent
#39EF6A
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #B5E040

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

Preview Lab → · Contrast checker → · Palette generator →

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