#7EA052#7EA052

#7EA052 is a light, moderate yellow-green. Relative luminance 0.302; OKLCH L 66.2% C 0.112 H 128.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7EA052
RGBrgb(126, 160, 82)
HSLhsl(86, 32%, 47%)
HSVhsv(86, 49%, 63%)
CMYKcmyk(21.2%, 0%, 48.8%, 37.3%)
CIE-LABlab(61.81, -25.20, 36.67)
CIE-LCHlch(61.81, 44.50, 124.50°)
OKLaboklab(66.21% -0.07 0.0881)
OKLCHoklch(66.21% 0.112 128.5)
XYZxyz(22.6978, 30.1861, 12.6117)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA052 #7452A0
analogous
#A09B52 #7EA052 #57A052
triadic
#7EA052 #527EA0 #A0527E
tetradic
#7EA052 #52A09B #7452A0 #A05257
square
#7EA052 #52A09B #7452A0 #A05257
split-complementary
#7EA052 #5257A0 #9B52A0
monochromatic
#3E4F29 #5E783D #7EA052 #9CB976 #B9CE9F

Accessibility & contrast

On white

2.98
#7EA052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7EA052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA052
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA052#FFFFFF#000000##000000
##7EA0521.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7974B
Deuteranopia (green-blind)
#A29557
Tritanopia (blue-blind)
#819A8E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea052;
/* rgb */ color: rgb(126, 160, 82);
/* oklch */ color: oklch(66.2% 0.112 128.5);
Tailwind
colors: {
  custom: {
    50: '#a5bc84',
    500: '#7ea052',
    950: '#000000',
  },
}
SCSS
$custom: #7ea052;
$custom-light: #a5bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea052",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 82
  },
  "hsl": {
    "h": 86.154,
    "s": 32.231,
    "l": 47.451
  },
  "oklch": {
    "l": 0.66209,
    "c": 0.11248,
    "h": 128.5
  },
  "luminance": 0.30186
}

Semantic roles & 50–950 ramp

primary
#7EA052
secondary
#A493BB
accent
#5FC88D
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7EA052

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

Preview Lab → · Contrast checker → · Palette generator →

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