#7EA421#7EA421

#7EA421 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.7% C 0.157 H 125.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7EA421
RGBrgb(126, 164, 33)
HSLhsl(77, 66%, 39%)
HSVhsv(77, 80%, 64%)
CMYKcmyk(23.2%, 0%, 79.9%, 35.7%)
CIE-LABlab(62.59, -31.03, 58.25)
CIE-LCHlch(62.59, 66.00, 118.05°)
OKLaboklab(66.7% -0.0903 0.1279)
OKLCHoklch(66.7% 0.157 125.2)
XYZxyz(22.1544, 31.0961, 6.2735)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA421 #4721A4
analogous
#A48821 #7EA421 #3CA421
triadic
#7EA421 #217EA4 #A4217E
tetradic
#7EA421 #21A488 #4721A4 #A4213C
square
#7EA421 #21A488 #4721A4 #A4213C
split-complementary
#7EA421 #213CA4 #8821A4
monochromatic
#303E0C #577117 #7EA421 #A4D52D #BADF60

Accessibility & contrast

On white

2.91
#7EA421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#7EA421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA421
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA421#FFFFFF#000000##000000
##7EA4211.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#A8972F
Tritanopia (blue-blind)
#849C8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ea421;
/* rgb */ color: rgb(126, 164, 33);
/* oklch */ color: oklch(66.7% 0.157 125.2);
Tailwind
colors: {
  custom: {
    50: '#a7bf68',
    500: '#7ea421',
    950: '#000000',
  },
}
SCSS
$custom: #7ea421;
$custom-light: #a7bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea421",
  "rgb": {
    "r": 126,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 77.405,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66698,
    "c": 0.15656,
    "h": 125.2
  },
  "luminance": 0.31096
}

Semantic roles & 50–950 ramp

primary
#7EA421
secondary
#7B5DC4
accent
#3EE970
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA421

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

Preview Lab → · Contrast checker → · Palette generator →

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