#B7E158#B7E158

#B7E158 is a very light, vivid yellow-green. Relative luminance 0.646; OKLCH L 85.3% C 0.170 H 124.4°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#B7E158
RGBrgb(183, 225, 88)
HSLhsl(78, 70%, 61%)
HSVhsv(78, 61%, 88%)
CMYKcmyk(18.7%, 0%, 60.9%, 11.8%)
CIE-LABlab(84.29, -33.51, 60.83)
CIE-LCHlch(84.29, 69.45, 118.85°)
OKLaboklab(85.31% -0.0958 0.1401)
OKLCHoklch(85.31% 0.17 124.4)
XYZxyz(48.2154, 64.6219, 19.1638)
Luminance0.6462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7E158 #8258E1
analogous
#E1C758 #B7E158 #73E158
triadic
#B7E158 #58B7E1 #E158B7
tetradic
#B7E158 #58E1C7 #8258E1 #E15873
square
#B7E158 #58E1C7 #8258E1 #E15873
split-complementary
#B7E158 #5873E1 #C758E1
monochromatic
#79A21D #A0D526 #B7E158 #CDEA8C #E4F4C0

Accessibility & contrast

On white

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

On black

13.92
#B7E158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7E158
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7E158#FFFFFF#000000##000000
##B7E1581.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD448
Deuteranopia (green-blind)
#E7D262
Tritanopia (blue-blind)
#BFD7C4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #b7e158;
/* rgb */ color: rgb(183, 225, 88);
/* oklch */ color: oklch(85.3% 0.170 124.4);
Tailwind
colors: {
  custom: {
    50: '#cfea8c',
    500: '#b7e158',
    950: '#000000',
  },
}
SCSS
$custom: #b7e158;
$custom-light: #cfea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7e158",
  "rgb": {
    "r": 183,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 78.394,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85307,
    "c": 0.16973,
    "h": 124.4
  },
  "luminance": 0.64622
}

Semantic roles & 50–950 ramp

primary
#B7E158
secondary
#5A39A4
accent
#14D24E
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #B7E158

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

Preview Lab → · Contrast checker → · Palette generator →

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