#B7E042#B7E042

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

Color values

HEX#B7E042
RGBrgb(183, 224, 66)
HSLhsl(76, 72%, 57%)
HSVhsv(76, 71%, 88%)
CMYKcmyk(18.3%, 0%, 70.5%, 12.2%)
CIE-LABlab(83.85, -34.52, 68.91)
CIE-LCHlch(83.85, 77.07, 116.61°)
OKLaboklab(84.9% -0.1005 0.1541)
OKLCHoklch(84.9% 0.184 123.1)
XYZxyz(47.1680, 63.7717, 14.9774)
Luminance0.6377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7E042 #6B42E0
analogous
#E0BA42 #B7E042 #68E042
triadic
#B7E042 #42B7E0 #E042B7
tetradic
#B7E042 #42E0BA #6B42E0 #E04268
square
#B7E042 #42E0BA #6B42E0 #E04268
split-complementary
#B7E042 #4268E0 #BA42E0
monochromatic
#719018 #9AC520 #B7E042 #CBE977 #DFF1AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7E042#FFFFFF#000000##000000
##B7E0421.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)
#EDD226
Deuteranopia (green-blind)
#E8D14F
Tritanopia (blue-blind)
#C0D5C1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #b7e042;
/* rgb */ color: rgb(183, 224, 66);
/* oklch */ color: oklch(84.9% 0.184 123.1);
Tailwind
colors: {
  custom: {
    50: '#d0e980',
    500: '#b7e042',
    950: '#000000',
  },
}
SCSS
$custom: #b7e042;
$custom-light: #d0e980;
$custom-dark: #000000;
JSON
{
  "hex": "#b7e042",
  "rgb": {
    "r": 183,
    "g": 224,
    "b": 66
  },
  "hsl": {
    "h": 75.57,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84898,
    "c": 0.184,
    "h": 123.1
  },
  "luminance": 0.63772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7E042

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

Preview Lab → · Contrast checker → · Palette generator →

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