#B7E371#B7E371

#B7E371 is a very light, vivid yellow-green. Relative luminance 0.662; OKLCH L 86.0% C 0.150 H 126.8°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#B7E371
RGBrgb(183, 227, 113)
HSLhsl(83, 67%, 67%)
HSVhsv(83, 50%, 89%)
CMYKcmyk(19.4%, 0%, 50.2%, 11%)
CIE-LABlab(85.10, -32.19, 50.60)
CIE-LCHlch(85.10, 59.98, 122.47°)
OKLaboklab(86.04% -0.09 0.1205)
OKLCHoklch(86.04% 0.15 126.8)
XYZxyz(49.9780, 66.1971, 25.7638)
Luminance0.6620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7E371 #9D71E3
analogous
#E3D671 #B7E371 #7EE371
triadic
#B7E371 #71B7E3 #E371B7
tetradic
#B7E371 #71E3D6 #9D71E3 #E3717E
square
#B7E371 #71E3D6 #9D71E3 #E3717E
split-complementary
#B7E371 #717EE3 #D671E3
monochromatic
#7DB624 #9DD93E #B7E371 #D1EDA4 #EBF7D7

Accessibility & contrast

On white

1.47
#B7E371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#B7E371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7E371
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7E371#FFFFFF#000000##000000
##B7E3711.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD667
Deuteranopia (green-blind)
#E7D478
Tritanopia (blue-blind)
#BDDAC9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #b7e371;
/* rgb */ color: rgb(183, 227, 113);
/* oklch */ color: oklch(86.0% 0.150 126.8);
Tailwind
colors: {
  custom: {
    50: '#cfec9c',
    500: '#b7e371',
    950: '#000000',
  },
}
SCSS
$custom: #b7e371;
$custom-light: #cfec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7e371",
  "rgb": {
    "r": 183,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 83.158,
    "s": 67.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86039,
    "c": 0.1504,
    "h": 126.8
  },
  "luminance": 0.66198
}

Semantic roles & 50–950 ramp

primary
#B7E371
secondary
#6F42B6
accent
#17CF5E
background
#FEFEFC
surface
#FBFDF5
border
#D4D5CF
text
#14160E
muted
#83847F

Preview Lab

Preview with #B7E371

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

Preview Lab → · Contrast checker → · Palette generator →

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