#B7E040#B7E040

#B7E040 is a very light, vivid yellow-green. Relative luminance 0.637; OKLCH L 84.9% C 0.185 H 123.0°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#B7E040
RGBrgb(183, 224, 64)
HSLhsl(75, 72%, 56%)
HSVhsv(75, 71%, 88%)
CMYKcmyk(18.3%, 0%, 71.4%, 12.2%)
CIE-LABlab(83.83, -34.63, 69.59)
CIE-LCHlch(83.83, 77.73, 116.45°)
OKLaboklab(84.89% -0.101 0.1552)
OKLCHoklch(84.89% 0.185 123)
XYZxyz(47.1101, 63.7485, 14.6723)
Luminance0.6375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7E040 #6940E0
analogous
#E0B940 #B7E040 #67E040
triadic
#B7E040 #40B7E0 #E040B7
tetradic
#B7E040 #40E0B9 #6940E0 #E04067
square
#B7E040 #40E0B9 #6940E0 #E04067
split-complementary
#B7E040 #4067E0 #B940E0
monochromatic
#708E17 #99C320 #B7E040 #CBE975 #DFF1A9

Accessibility & contrast

On white

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

On black

13.75
#B7E040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7E040
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7E040#FFFFFF#000000##000000
##B7E0401.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD222
Deuteranopia (green-blind)
#E8D14E
Tritanopia (blue-blind)
#C0D5C1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #b7e040;
/* rgb */ color: rgb(183, 224, 64);
/* oklch */ color: oklch(84.9% 0.185 123.0);
Tailwind
colors: {
  custom: {
    50: '#d0e97f',
    500: '#b7e040',
    950: '#000000',
  },
}
SCSS
$custom: #b7e040;
$custom-light: #d0e97f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7e040",
  "rgb": {
    "r": 183,
    "g": 224,
    "b": 64
  },
  "hsl": {
    "h": 75.375,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84885,
    "c": 0.1852,
    "h": 123
  },
  "luminance": 0.63749
}

Semantic roles & 50–950 ramp

primary
#B7E040
secondary
#4A3194
accent
#39EF68
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #B7E040

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

Preview Lab → · Contrast checker → · Palette generator →

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