#7EA340#7EA340

#7EA340 is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.7% C 0.134 H 127.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7EA340
RGBrgb(126, 163, 64)
HSLhsl(82, 44%, 45%)
HSVhsv(82, 61%, 64%)
CMYKcmyk(22.7%, 0%, 60.7%, 36.1%)
CIE-LABlab(62.51, -28.51, 46.22)
CIE-LCHlch(62.51, 54.30, 121.67°)
OKLaboklab(66.7% -0.0807 0.1071)
OKLCHoklch(66.7% 0.134 127)
XYZxyz(22.6268, 30.9998, 9.6410)
Luminance0.3100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA340 #6540A3
analogous
#A39640 #7EA340 #4DA340
triadic
#7EA340 #407EA3 #A3407E
tetradic
#7EA340 #40A396 #6540A3 #A3404D
square
#7EA340 #40A396 #6540A3 #A3404D
split-complementary
#7EA340 #404DA3 #9640A3
monochromatic
#3A4B1D #5C772F #7EA340 #9CC060 #B8D28C

Accessibility & contrast

On white

2.92
#7EA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#7EA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA340
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA340#FFFFFF#000000##000000
##7EA3401.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9935
Deuteranopia (green-blind)
#A69647
Tritanopia (blue-blind)
#829C8E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ea340;
/* rgb */ color: rgb(126, 163, 64);
/* oklch */ color: oklch(66.7% 0.134 127.0);
Tailwind
colors: {
  custom: {
    50: '#a6be79',
    500: '#7ea340',
    950: '#000000',
  },
}
SCSS
$custom: #7ea340;
$custom-light: #a6be79;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea340",
  "rgb": {
    "r": 126,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 82.424,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.66702,
    "c": 0.13415,
    "h": 127
  },
  "luminance": 0.31
}

Semantic roles & 50–950 ramp

primary
#7EA340
secondary
#9882BD
accent
#54D384
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA340

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

Preview Lab → · Contrast checker → · Palette generator →

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