#7EA02C#7EA02C

#7EA02C is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.8% C 0.145 H 124.7°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7EA02C
RGBrgb(126, 160, 44)
HSLhsl(78, 57%, 40%)
HSVhsv(78, 73%, 63%)
CMYKcmyk(21.2%, 0%, 72.5%, 37.3%)
CIE-LABlab(61.45, -28.55, 53.46)
CIE-LCHlch(61.45, 60.60, 118.11°)
OKLaboklab(65.79% -0.0827 0.1196)
OKLCHoklch(65.79% 0.145 124.7)
XYZxyz(21.6298, 29.7589, 6.9869)
Luminance0.2976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA02C #4E2CA0
analogous
#A0882C #7EA02C #44A02C
triadic
#7EA02C #2C7EA0 #A02C7E
tetradic
#7EA02C #2CA088 #4E2CA0 #A02C44
square
#7EA02C #2CA088 #4E2CA0 #A02C44
split-complementary
#7EA02C #2C44A0 #882CA0
monochromatic
#324012 #58701F #7EA02C #A1CA3F #B9D76F

Accessibility & contrast

On white

3.02
#7EA02C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#7EA02C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7EA02C
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA02C#FFFFFF#000000##000000
##7EA02C1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ea02c;
/* rgb */ color: rgb(126, 160, 44);
/* oklch */ color: oklch(65.8% 0.145 124.7);
Tailwind
colors: {
  custom: {
    50: '#a7bc6d',
    500: '#7ea02c',
    950: '#000000',
  },
}
SCSS
$custom: #7ea02c;
$custom-light: #a7bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea02c",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 77.586,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.65792,
    "c": 0.1454,
    "h": 124.7
  },
  "luminance": 0.29759
}

Semantic roles & 50–950 ramp

primary
#7EA02C
secondary
#8269BF
accent
#48E074
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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