#B4E042#B4E042

#B4E042 is a very light, vivid yellow-green. Relative luminance 0.634; OKLCH L 84.7% C 0.185 H 124.0°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#B4E042
RGBrgb(180, 224, 66)
HSLhsl(77, 72%, 57%)
HSVhsv(77, 71%, 88%)
CMYKcmyk(19.6%, 0%, 70.5%, 12.2%)
CIE-LABlab(83.66, -35.68, 68.66)
CIE-LCHlch(83.66, 77.37, 117.46°)
OKLaboklab(84.7% -0.1036 0.1537)
OKLCHoklch(84.7% 0.185 124)
XYZxyz(46.4619, 63.4076, 14.9443)
Luminance0.6341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4E042 #6E42E0
analogous
#E0BD42 #B4E042 #65E042
triadic
#B4E042 #42B4E0 #E042B4
tetradic
#B4E042 #42E0BD #6E42E0 #E04265
square
#B4E042 #42E0BD #6E42E0 #E04265
split-complementary
#B4E042 #4265E0 #BD42E0
monochromatic
#6E9018 #97C520 #B4E042 #C9E977 #DEF1AB

Accessibility & contrast

On white

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

On black

13.68
#B4E042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4E042
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4E042#FFFFFF#000000##000000
##B4E0421.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD226
Deuteranopia (green-blind)
#E7D050
Tritanopia (blue-blind)
#BDD5C1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #b4e042;
/* rgb */ color: rgb(180, 224, 66);
/* oklch */ color: oklch(84.7% 0.185 124.0);
Tailwind
colors: {
  custom: {
    50: '#cee980',
    500: '#b4e042',
    950: '#000000',
  },
}
SCSS
$custom: #b4e042;
$custom-light: #cee980;
$custom-dark: #000000;
JSON
{
  "hex": "#b4e042",
  "rgb": {
    "r": 180,
    "g": 224,
    "b": 66
  },
  "hsl": {
    "h": 76.709,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84695,
    "c": 0.18529,
    "h": 124
  },
  "luminance": 0.63408
}

Semantic roles & 50–950 ramp

primary
#B4E042
secondary
#4D3195
accent
#39EF6C
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #B4E042

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

Preview Lab → · Contrast checker → · Palette generator →

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