#7EBD21#7EBD21

#7EBD21 is a light, vivid yellow-green. Relative luminance 0.409; OKLCH L 72.8% C 0.187 H 130.3°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7EBD21
RGBrgb(126, 189, 33)
HSLhsl(84, 70%, 44%)
HSVhsv(84, 83%, 74%)
CMYKcmyk(33.3%, 0%, 82.5%, 25.9%)
CIE-LABlab(70.13, -42.27, 65.04)
CIE-LCHlch(70.13, 77.57, 123.02°)
OKLaboklab(72.84% -0.1207 0.1422)
OKLCHoklch(72.84% 0.187 130.3)
XYZxyz(27.0762, 40.9397, 7.9141)
Luminance0.4094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBD21 #6021BD
analogous
#BDAE21 #7EBD21 #30BD21
triadic
#7EBD21 #217EBD #BD217E
tetradic
#7EBD21 #21BDAE #6021BD #BD2130
square
#7EBD21 #21BDAE #6021BD #BD2130
split-complementary
#7EBD21 #2130BD #AE21BD
monochromatic
#39550F #5B8918 #7EBD21 #9DDD3E #B7E672

Accessibility & contrast

On white

2.29
#7EBD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#7EBD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EBD21
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EBD21#FFFFFF#000000##000000
##7EBD211.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AE00
Deuteranopia (green-blind)
#BDAA34
Tritanopia (blue-blind)
#81B5A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7ebd21;
/* rgb */ color: rgb(126, 189, 33);
/* oklch */ color: oklch(72.8% 0.187 130.3);
Tailwind
colors: {
  custom: {
    50: '#a9d16c',
    500: '#7ebd21',
    950: '#000000',
  },
}
SCSS
$custom: #7ebd21;
$custom-light: #a9d16c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ebd21",
  "rgb": {
    "r": 126,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 84.231,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72835,
    "c": 0.18658,
    "h": 130.3
  },
  "luminance": 0.40941
}

Semantic roles & 50–950 ramp

primary
#7EBD21
secondary
#946DCD
accent
#3BED83
background
#FAFCF6
surface
#F4F9EC
border
#CED2C7
text
#101408
muted
#7F827A

Preview Lab

Preview with #7EBD21

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

Preview Lab → · Contrast checker → · Palette generator →

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