#7BE21B#7BE21B

#7BE21B is a light, highly saturated yellow-green. Relative luminance 0.587; OKLCH L 81.8% C 0.232 H 134.9°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#7BE21B
RGBrgb(123, 226, 27)
HSLhsl(91, 79%, 50%)
HSVhsv(91, 88%, 89%)
CMYKcmyk(45.6%, 0%, 88.1%, 11.4%)
CIE-LABlab(81.12, -58.31, 75.76)
CIE-LCHlch(81.12, 95.60, 127.59°)
OKLaboklab(81.79% -0.1638 0.1644)
OKLCHoklch(81.79% 0.232 134.9)
XYZxyz(35.5618, 58.6806, 10.4893)
Luminance0.5868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BE21B #821BE2
analogous
#DFE21B #7BE21B #1BE21E
triadic
#7BE21B #1B7BE2 #E21B7B
tetradic
#7BE21B #1BDFE2 #821BE2 #E21E1B
square
#7BE21B #1BDFE2 #821BE2 #E21E1B
split-complementary
#7BE21B #1E1BE2 #E21BDF
monochromatic
#3F750E #5DAB14 #7BE21B #9AEA50 #BAF187

Accessibility & contrast

On white

1.65
#7BE21B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#7BE21B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BE21B
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BE21B#FFFFFF#000000##000000
##7BE21B1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBCF00
Deuteranopia (green-blind)
#DDC639
Tritanopia (blue-blind)
#78D9C0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #7be21b;
/* rgb */ color: rgb(123, 226, 27);
/* oklch */ color: oklch(81.8% 0.232 134.9);
Tailwind
colors: {
  custom: {
    50: '#aaec70',
    500: '#7be21b',
    950: '#000000',
  },
}
SCSS
$custom: #7be21b;
$custom-light: #aaec70;
$custom-dark: #000000;
JSON
{
  "hex": "#7be21b",
  "rgb": {
    "r": 123,
    "g": 226,
    "b": 27
  },
  "hsl": {
    "h": 91.055,
    "s": 78.656,
    "l": 49.608
  },
  "oklch": {
    "l": 0.81787,
    "c": 0.23202,
    "h": 134.9
  },
  "luminance": 0.58683
}

Semantic roles & 50–950 ramp

primary
#7BE21B
secondary
#52247D
accent
#33F597
background
#FDFFFB
surface
#F8FEF1
border
#D1D6CB
text
#111609
muted
#81857D

Preview Lab

Preview with #7BE21B

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

Preview Lab → · Contrast checker → · Palette generator →

#7BE21B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva