#7EA042#7EA042

#7EA042 is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 66.0% C 0.128 H 126.4°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7EA042
RGBrgb(126, 160, 66)
HSLhsl(82, 42%, 44%)
HSVhsv(82, 59%, 63%)
CMYKcmyk(21.2%, 0%, 58.8%, 37.3%)
CIE-LABlab(61.63, -26.88, 44.30)
CIE-LCHlch(61.63, 51.82, 121.24°)
OKLaboklab(66% -0.076 0.1033)
OKLCHoklch(66% 0.128 126.4)
XYZxyz(22.1584, 29.9703, 9.7706)
Luminance0.2997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA042 #6442A0
analogous
#A09342 #7EA042 #4FA042
triadic
#7EA042 #427EA0 #A0427E
tetradic
#7EA042 #42A093 #6442A0 #A0424F
square
#7EA042 #42A093 #6442A0 #A0424F
split-complementary
#7EA042 #424FA0 #9342A0
monochromatic
#3A491E #5C7530 #7EA042 #9CBE61 #B7D08D

Accessibility & contrast

On white

3.00
#7EA042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#7EA042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7EA042
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA042#FFFFFF#000000##000000
##7EA0421.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89638
Deuteranopia (green-blind)
#A39448
Tritanopia (blue-blind)
#83998C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea042;
/* rgb */ color: rgb(126, 160, 66);
/* oklch */ color: oklch(66.0% 0.128 126.4);
Tailwind
colors: {
  custom: {
    50: '#a6bc7a',
    500: '#7ea042',
    950: '#000000',
  },
}
SCSS
$custom: #7ea042;
$custom-light: #a6bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea042",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 81.702,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.65998,
    "c": 0.12823,
    "h": 126.4
  },
  "luminance": 0.29971
}

Semantic roles & 50–950 ramp

primary
#7EA042
secondary
#9783BB
accent
#56D183
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA042

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

Preview Lab → · Contrast checker → · Palette generator →

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