#7EA72E#7EA72E

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

Color values

HEX#7EA72E
RGBrgb(126, 167, 46)
HSLhsl(80, 57%, 42%)
HSVhsv(80, 72%, 65%)
CMYKcmyk(24.6%, 0%, 72.5%, 34.5%)
CIE-LABlab(63.57, -31.76, 54.81)
CIE-LCHlch(63.57, 63.35, 120.08°)
OKLaboklab(67.51% -0.0913 0.1228)
OKLCHoklch(67.51% 0.153 126.6)
XYZxyz(22.9161, 32.2699, 7.6056)
Luminance0.3227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA72E #572EA7
analogous
#A7942E #7EA72E #41A72E
triadic
#7EA72E #2E7EA7 #A72E7E
tetradic
#7EA72E #2EA794 #572EA7 #A72E41
square
#7EA72E #2EA794 #572EA7 #A72E41
split-complementary
#7EA72E #2E41A7 #942EA7
monochromatic
#364714 #5A7721 #7EA72E #9FCC46 #B8D976

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA72E#FFFFFF#000000##000000
##7EA72E1.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)
#B09C18
Deuteranopia (green-blind)
#AA9939
Tritanopia (blue-blind)
#839F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea72e;
/* rgb */ color: rgb(126, 167, 46);
/* oklch */ color: oklch(67.5% 0.153 126.6);
Tailwind
colors: {
  custom: {
    50: '#a7c16f',
    500: '#7ea72e',
    950: '#000000',
  },
}
SCSS
$custom: #7ea72e;
$custom-light: #a7c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea72e",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 46
  },
  "hsl": {
    "h": 80.331,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67513,
    "c": 0.15298,
    "h": 126.6
  },
  "luminance": 0.3227
}

Semantic roles & 50–950 ramp

primary
#7EA72E
secondary
#8B70C1
accent
#48E07B
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA72E

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

Preview Lab → · Contrast checker → · Palette generator →

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