#7EAF40#7EAF40

#7EAF40 is a light, vivid yellow-green. Relative luminance 0.355; OKLCH L 69.6% C 0.150 H 129.8°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7EAF40
RGBrgb(126, 175, 64)
HSLhsl(86, 46%, 47%)
HSVhsv(86, 63%, 69%)
CMYKcmyk(28%, 0%, 63.4%, 31.4%)
CIE-LABlab(66.11, -34.16, 50.19)
CIE-LCHlch(66.11, 60.71, 124.24°)
OKLaboklab(69.62% -0.0963 0.1156)
OKLCHoklch(69.62% 0.15 129.8)
XYZxyz(24.8594, 35.4651, 10.3852)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF40 #7140AF
analogous
#AFA940 #7EAF40 #47AF40
triadic
#7EAF40 #407EAF #AF407E
tetradic
#7EAF40 #40AFA9 #7140AF #AF4047
square
#7EAF40 #40AFA9 #7140AF #AF4047
split-complementary
#7EAF40 #4047AF #A940AF
monochromatic
#3D551F #5E8230 #7EAF40 #9CC765 #B9D792

Accessibility & contrast

On white

2.59
#7EAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#7EAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAF40
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAF40#FFFFFF#000000##000000
##7EAF401.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A333
Deuteranopia (green-blind)
#B0A048
Tritanopia (blue-blind)
#81A898
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7eaf40;
/* rgb */ color: rgb(126, 175, 64);
/* oklch */ color: oklch(69.6% 0.150 129.8);
Tailwind
colors: {
  custom: {
    50: '#a7c77a',
    500: '#7eaf40',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf40;
$custom-light: #a7c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf40",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 86.486,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.69621,
    "c": 0.15044,
    "h": 129.8
  },
  "luminance": 0.35466
}

Semantic roles & 50–950 ramp

primary
#7EAF40
secondary
#A288C3
accent
#52D68C
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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