#7EBC21#7EBC21

#7EBC21 is a light, vivid yellow-green. Relative luminance 0.405; OKLCH L 72.6% C 0.185 H 130.2°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#7EBC21
RGBrgb(126, 188, 33)
HSLhsl(84, 70%, 43%)
HSVhsv(84, 82%, 74%)
CMYKcmyk(33%, 0%, 82.4%, 26.3%)
CIE-LABlab(69.83, -41.84, 64.77)
CIE-LCHlch(69.83, 77.11, 122.86°)
OKLaboklab(72.59% -0.1196 0.1417)
OKLCHoklch(72.59% 0.185 130.2)
XYZxyz(26.8618, 40.5109, 7.8427)
Luminance0.4051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBC21 #5F21BC
analogous
#BCAC21 #7EBC21 #30BC21
triadic
#7EBC21 #217EBC #BC217E
tetradic
#7EBC21 #21BCAC #5F21BC #BC2130
square
#7EBC21 #21BCAC #5F21BC #BC2130
split-complementary
#7EBC21 #2130BC #AC21BC
monochromatic
#38540F #5B8818 #7EBC21 #9DDD3D #B7E671

Accessibility & contrast

On white

2.31
#7EBC21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#7EBC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EBC21
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EBC21#FFFFFF#000000##000000
##7EBC211.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#BDA934
Tritanopia (blue-blind)
#81B4A0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7ebc21;
/* rgb */ color: rgb(126, 188, 33);
/* oklch */ color: oklch(72.6% 0.185 130.2);
Tailwind
colors: {
  custom: {
    50: '#a9d06c',
    500: '#7ebc21',
    950: '#000000',
  },
}
SCSS
$custom: #7ebc21;
$custom-light: #a9d06c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ebc21",
  "rgb": {
    "r": 126,
    "g": 188,
    "b": 33
  },
  "hsl": {
    "h": 84,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72589,
    "c": 0.1854,
    "h": 130.2
  },
  "luminance": 0.40512
}

Semantic roles & 50–950 ramp

primary
#7EBC21
secondary
#936CCD
accent
#3BED82
background
#FAFCF6
surface
#F4F9EC
border
#CED2C7
text
#101408
muted
#7F827A

Preview Lab

Preview with #7EBC21

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

Preview Lab → · Contrast checker → · Palette generator →

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