#B4E240#B4E240

#B4E240 is a very light, vivid yellow-green. Relative luminance 0.645; OKLCH L 85.1% C 0.189 H 124.3°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#B4E240
RGBrgb(180, 226, 64)
HSLhsl(77, 74%, 57%)
HSVhsv(77, 72%, 89%)
CMYKcmyk(20.4%, 0%, 71.7%, 11.4%)
CIE-LABlab(84.21, -36.70, 69.89)
CIE-LCHlch(84.21, 78.94, 117.70°)
OKLaboklab(85.14% -0.1065 0.1559)
OKLCHoklch(85.14% 0.189 124.3)
XYZxyz(46.9446, 64.4657, 14.8194)
Luminance0.6447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4E240 #6E40E2
analogous
#E2BF40 #B4E240 #63E240
triadic
#B4E240 #40B4E2 #E240B4
tetradic
#B4E240 #40E2BF #6E40E2 #E24063
square
#B4E240 #40E2BF #6E40E2 #E24063
split-complementary
#B4E240 #4063E2 #BF40E2
monochromatic
#6E9216 #97C71E #B4E240 #C9EA75 #DEF2AA

Accessibility & contrast

On white

1.51
#B4E240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#B4E240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4E240
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4E240#FFFFFF#000000##000000
##B4E2401.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD421
Deuteranopia (green-blind)
#E8D24E
Tritanopia (blue-blind)
#BCD7C3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #b4e240;
/* rgb */ color: rgb(180, 226, 64);
/* oklch */ color: oklch(85.1% 0.189 124.3);
Tailwind
colors: {
  custom: {
    50: '#ceeb7f',
    500: '#b4e240',
    950: '#000000',
  },
}
SCSS
$custom: #b4e240;
$custom-light: #ceeb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4e240",
  "rgb": {
    "r": 180,
    "g": 226,
    "b": 64
  },
  "hsl": {
    "h": 77.037,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.85137,
    "c": 0.18885,
    "h": 124.3
  },
  "luminance": 0.64466
}

Semantic roles & 50–950 ramp

primary
#B4E240
secondary
#4D3096
accent
#38F06C
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #B4E240

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

Preview Lab → · Contrast checker → · Palette generator →

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