#B4E271#B4E271

#B4E271 is a very light, vivid yellow-green. Relative luminance 0.653; OKLCH L 85.6% C 0.150 H 127.6°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#B4E271
RGBrgb(180, 226, 113)
HSLhsl(84, 66%, 66%)
HSVhsv(84, 50%, 89%)
CMYKcmyk(20.4%, 0%, 50%, 11.4%)
CIE-LABlab(84.63, -32.84, 50.00)
CIE-LCHlch(84.63, 59.82, 123.30°)
OKLaboklab(85.62% -0.0917 0.1192)
OKLCHoklch(85.62% 0.15 127.6)
XYZxyz(48.9991, 65.2875, 25.6398)
Luminance0.6529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4E271 #9F71E2
analogous
#E2D871 #B4E271 #7CE271
triadic
#B4E271 #71B4E2 #E271B4
tetradic
#B4E271 #71E2D8 #9F71E2 #E2717C
square
#B4E271 #71E2D8 #9F71E2 #E2717C
split-complementary
#B4E271 #717CE2 #D871E2
monochromatic
#7AB425 #99D83E #B4E271 #CFECA4 #EAF7D7

Accessibility & contrast

On white

1.49
#B4E271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#B4E271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4E271
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4E271#FFFFFF#000000##000000
##B4E2711.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD567
Deuteranopia (green-blind)
#E5D278
Tritanopia (blue-blind)
#B9D9C8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #b4e271;
/* rgb */ color: rgb(180, 226, 113);
/* oklch */ color: oklch(85.6% 0.150 127.6);
Tailwind
colors: {
  custom: {
    50: '#cceb9c',
    500: '#b4e271',
    950: '#000000',
  },
}
SCSS
$custom: #b4e271;
$custom-light: #cceb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4e271",
  "rgb": {
    "r": 180,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 84.425,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85616,
    "c": 0.15036,
    "h": 127.6
  },
  "luminance": 0.65288
}

Semantic roles & 50–950 ramp

primary
#B4E271
secondary
#7142B5
accent
#18CE62
background
#FEFEFC
surface
#FBFDF5
border
#D4D5CF
text
#14160E
muted
#83847F

Preview Lab

Preview with #B4E271

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

Preview Lab → · Contrast checker → · Palette generator →

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