#7EA72C#7EA72C

#7EA72C is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.5% C 0.154 H 126.5°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7EA72C
RGBrgb(126, 167, 44)
HSLhsl(80, 58%, 41%)
HSVhsv(80, 74%, 65%)
CMYKcmyk(24.6%, 0%, 73.7%, 34.5%)
CIE-LABlab(63.55, -31.88, 55.53)
CIE-LCHlch(63.55, 64.03, 119.86°)
OKLaboklab(67.5% -0.0918 0.124)
OKLCHoklch(67.5% 0.154 126.5)
XYZxyz(22.8776, 32.2545, 7.4028)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA72C #552CA7
analogous
#A7932C #7EA72C #41A72C
triadic
#7EA72C #2C7EA7 #A72C7E
tetradic
#7EA72C #2CA793 #552CA7 #A72C41
square
#7EA72C #2CA793 #552CA7 #A72C41
split-complementary
#7EA72C #2C41A7 #932CA7
monochromatic
#354612 #59771F #7EA72C #9FCD43 #B8DA73

Accessibility & contrast

On white

2.82
#7EA72C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#7EA72C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA72C
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA72C#FFFFFF#000000##000000
##7EA72C1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C14
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#839F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea72c;
/* rgb */ color: rgb(126, 167, 44);
/* oklch */ color: oklch(67.5% 0.154 126.5);
Tailwind
colors: {
  custom: {
    50: '#a7c16e',
    500: '#7ea72c',
    950: '#000000',
  },
}
SCSS
$custom: #7ea72c;
$custom-light: #a7c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea72c",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 44
  },
  "hsl": {
    "h": 80,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67499,
    "c": 0.15423,
    "h": 126.5
  },
  "luminance": 0.32255
}

Semantic roles & 50–950 ramp

primary
#7EA72C
secondary
#896DC2
accent
#46E27A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA72C

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

Preview Lab → · Contrast checker → · Palette generator →

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