#7EA821#7EA821

#7EA821 is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 67.7% C 0.161 H 126.2°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7EA821
RGBrgb(126, 168, 33)
HSLhsl(79, 67%, 39%)
HSVhsv(79, 80%, 66%)
CMYKcmyk(25%, 0%, 80.4%, 34.1%)
CIE-LABlab(63.80, -32.90, 59.35)
CIE-LCHlch(63.80, 67.86, 119.00°)
OKLaboklab(67.68% -0.0954 0.1302)
OKLCHoklch(67.68% 0.161 126.2)
XYZxyz(22.8815, 32.5503, 6.5159)
Luminance0.3255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA821 #4B21A8
analogous
#A88F21 #7EA821 #3AA821
triadic
#7EA821 #217EA8 #A8217E
tetradic
#7EA821 #21A88F #4B21A8 #A8213A
square
#7EA821 #21A88F #4B21A8 #A8213A
split-complementary
#7EA821 #213AA8 #8F21A8
monochromatic
#31420D #587517 #7EA821 #A3D630 #B9E063

Accessibility & contrast

On white

2.80
#7EA821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#7EA821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA821
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA821#FFFFFF#000000##000000
##7EA8211.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AC9A30
Tritanopia (blue-blind)
#84A08F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7ea821;
/* rgb */ color: rgb(126, 168, 33);
/* oklch */ color: oklch(67.7% 0.161 126.2);
Tailwind
colors: {
  custom: {
    50: '#a7c269',
    500: '#7ea821',
    950: '#000000',
  },
}
SCSS
$custom: #7ea821;
$custom-light: #a7c269;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea821",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 78.667,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67676,
    "c": 0.16141,
    "h": 126.2
  },
  "luminance": 0.32551
}

Semantic roles & 50–950 ramp

primary
#7EA821
secondary
#7F5FC5
accent
#3EEA73
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA821

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

Preview Lab → · Contrast checker → · Palette generator →

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