#7EA021#7EA021

#7EA021 is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.7% C 0.152 H 124.2°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7EA021
RGBrgb(126, 160, 33)
HSLhsl(76, 66%, 38%)
HSVhsv(76, 79%, 63%)
CMYKcmyk(21.2%, 0%, 79.4%, 37.3%)
CIE-LABlab(61.38, -29.13, 57.15)
CIE-LCHlch(61.38, 64.15, 117.01°)
OKLaboklab(65.72% -0.0852 0.1255)
OKLCHoklch(65.72% 0.152 124.2)
XYZxyz(21.4497, 29.6868, 6.0386)
Luminance0.2969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA021 #4321A0
analogous
#A08221 #7EA021 #3EA021
triadic
#7EA021 #217EA0 #A0217E
tetradic
#7EA021 #21A082 #4321A0 #A0213E
square
#7EA021 #21A082 #4321A0 #A0213E
split-complementary
#7EA021 #213EA0 #8221A0
monochromatic
#2E3B0C #566D17 #7EA021 #A6D32B #BBDE5E

Accessibility & contrast

On white

3.03
#7EA021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#7EA021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7EA021
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA021#FFFFFF#000000##000000
##7EA0211.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#849889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ea021;
/* rgb */ color: rgb(126, 160, 33);
/* oklch */ color: oklch(65.7% 0.152 124.2);
Tailwind
colors: {
  custom: {
    50: '#a7bc68',
    500: '#7ea021',
    950: '#000000',
  },
}
SCSS
$custom: #7ea021;
$custom-light: #a7bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea021",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 76.063,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65721,
    "c": 0.1517,
    "h": 124.2
  },
  "luminance": 0.29687
}

Semantic roles & 50–950 ramp

primary
#7EA021
secondary
#765BC2
accent
#3FE96C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA021

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

Preview Lab → · Contrast checker → · Palette generator →

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