#7EA740#7EA740

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

Color values

HEX#7EA740
RGBrgb(126, 167, 64)
HSLhsl(84, 45%, 45%)
HSVhsv(84, 62%, 65%)
CMYKcmyk(24.6%, 0%, 61.7%, 34.5%)
CIE-LABlab(63.71, -30.42, 47.55)
CIE-LCHlch(63.71, 56.45, 122.61°)
OKLaboklab(67.67% -0.086 0.11)
OKLCHoklch(67.67% 0.14 128)
XYZxyz(23.3482, 32.4428, 9.8815)
Luminance0.3244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA740 #6940A7
analogous
#A79C40 #7EA740 #4BA740
triadic
#7EA740 #407EA7 #A7407E
tetradic
#7EA740 #40A79C #6940A7 #A7404B
square
#7EA740 #40A79C #6940A7 #A7404B
split-complementary
#7EA740 #404BA7 #9C40A7
monochromatic
#3B4F1E #5D7B2F #7EA740 #9CC362 #B8D48E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA740#FFFFFF#000000##000000
##7EA7401.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)
#AF9C34
Deuteranopia (green-blind)
#A99947
Tritanopia (blue-blind)
#82A091
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea740;
/* rgb */ color: rgb(126, 167, 64);
/* oklch */ color: oklch(67.7% 0.140 128.0);
Tailwind
colors: {
  custom: {
    50: '#a6c179',
    500: '#7ea740',
    950: '#000000',
  },
}
SCSS
$custom: #7ea740;
$custom-light: #a6c179;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea740",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 64
  },
  "hsl": {
    "h": 83.883,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.67673,
    "c": 0.13962,
    "h": 128
  },
  "luminance": 0.32443
}

Semantic roles & 50–950 ramp

primary
#7EA740
secondary
#9B84BF
accent
#54D487
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA740

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

Preview Lab → · Contrast checker → · Palette generator →

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