#7EA640#7EA640

#7EA640 is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.4% C 0.138 H 127.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7EA640
RGBrgb(126, 166, 64)
HSLhsl(84, 44%, 45%)
HSVhsv(84, 61%, 65%)
CMYKcmyk(24.1%, 0%, 61.4%, 34.9%)
CIE-LABlab(63.41, -29.95, 47.22)
CIE-LCHlch(63.41, 55.91, 122.39°)
OKLaboklab(67.43% -0.0847 0.1093)
OKLCHoklch(67.43% 0.138 127.8)
XYZxyz(23.1658, 32.0778, 9.8206)
Luminance0.3208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA640 #6840A6
analogous
#A69B40 #7EA640 #4BA640
triadic
#7EA640 #407EA6 #A6407E
tetradic
#7EA640 #40A69B #6840A6 #A6404B
square
#7EA640 #40A69B #6840A6 #A6404B
split-complementary
#7EA640 #404BA6 #9B40A6
monochromatic
#3B4E1E #5C7A2F #7EA640 #9CC261 #B8D38D

Accessibility & contrast

On white

2.83
#7EA640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#7EA640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA640
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA640#FFFFFF#000000##000000
##7EA6401.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B34
Deuteranopia (green-blind)
#A89947
Tritanopia (blue-blind)
#829F90
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ea640;
/* rgb */ color: rgb(126, 166, 64);
/* oklch */ color: oklch(67.4% 0.138 127.8);
Tailwind
colors: {
  custom: {
    50: '#a6c079',
    500: '#7ea640',
    950: '#000000',
  },
}
SCSS
$custom: #7ea640;
$custom-light: #a6c079;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea640",
  "rgb": {
    "r": 126,
    "g": 166,
    "b": 64
  },
  "hsl": {
    "h": 83.529,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6743,
    "c": 0.13825,
    "h": 127.8
  },
  "luminance": 0.32078
}

Semantic roles & 50–950 ramp

primary
#7EA640
secondary
#9B84BE
accent
#54D486
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA640

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

Preview Lab → · Contrast checker → · Palette generator →

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