#7EA742#7EA742

#7EA742 is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 67.7% C 0.138 H 128.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7EA742
RGBrgb(126, 167, 66)
HSLhsl(84, 43%, 46%)
HSVhsv(84, 60%, 65%)
CMYKcmyk(24.6%, 0%, 60.5%, 34.5%)
CIE-LABlab(63.73, -30.25, 46.67)
CIE-LCHlch(63.73, 55.61, 122.95°)
OKLaboklab(67.7% -0.0854 0.1083)
OKLCHoklch(67.7% 0.138 128.2)
XYZxyz(23.4062, 32.4659, 10.1866)
Luminance0.3247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA742 #6B42A7
analogous
#A79D42 #7EA742 #4BA742
triadic
#7EA742 #427EA7 #A7427E
tetradic
#7EA742 #42A79D #6B42A7 #A7424B
square
#7EA742 #42A79D #6B42A7 #A7424B
split-complementary
#7EA742 #424BA7 #9D42A7
monochromatic
#3C4F1F #5D7B31 #7EA742 #9CC264 #B8D390

Accessibility & contrast

On white

2.80
#7EA742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#7EA742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA742
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA742#FFFFFF#000000##000000
##7EA7421.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C37
Deuteranopia (green-blind)
#A99A49
Tritanopia (blue-blind)
#82A091
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea742;
/* rgb */ color: rgb(126, 167, 66);
/* oklch */ color: oklch(67.7% 0.138 128.2);
Tailwind
colors: {
  custom: {
    50: '#a6c17a',
    500: '#7ea742',
    950: '#000000',
  },
}
SCSS
$custom: #7ea742;
$custom-light: #a6c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea742",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 66
  },
  "hsl": {
    "h": 84.356,
    "s": 43.348,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67695,
    "c": 0.13791,
    "h": 128.2
  },
  "luminance": 0.32466
}

Semantic roles & 50–950 ramp

primary
#7EA742
secondary
#9D86BE
accent
#55D388
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA742

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

Preview Lab → · Contrast checker → · Palette generator →

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