#7EA152#7EA152

#7EA152 is a light, moderate yellow-green. Relative luminance 0.305; OKLCH L 66.4% C 0.114 H 128.8°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7EA152
RGBrgb(126, 161, 82)
HSLhsl(87, 33%, 48%)
HSVhsv(87, 49%, 63%)
CMYKcmyk(21.7%, 0%, 49.1%, 36.9%)
CIE-LABlab(62.11, -25.69, 37.04)
CIE-LCHlch(62.11, 45.08, 124.75°)
OKLaboklab(66.45% -0.0714 0.0889)
OKLCHoklch(66.45% 0.114 128.8)
XYZxyz(22.8718, 30.5342, 12.6697)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA152 #7552A1
analogous
#A19C52 #7EA152 #57A152
triadic
#7EA152 #527EA1 #A1527E
tetradic
#7EA152 #52A19C #7552A1 #A15257
square
#7EA152 #52A19C #7552A1 #A15257
split-complementary
#7EA152 #5257A1 #9C52A1
monochromatic
#3F5029 #5E783D #7EA152 #9CBA77 #B9CE9F

Accessibility & contrast

On white

2.95
#7EA152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#7EA152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA152
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA152#FFFFFF#000000##000000
##7EA1521.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8984B
Deuteranopia (green-blind)
#A39557
Tritanopia (blue-blind)
#819B8F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea152;
/* rgb */ color: rgb(126, 161, 82);
/* oklch */ color: oklch(66.4% 0.114 128.8);
Tailwind
colors: {
  custom: {
    50: '#a5bd84',
    500: '#7ea152',
    950: '#000000',
  },
}
SCSS
$custom: #7ea152;
$custom-light: #a5bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea152",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 86.582,
    "s": 32.51,
    "l": 47.647
  },
  "oklch": {
    "l": 0.66449,
    "c": 0.11398,
    "h": 128.8
  },
  "luminance": 0.30535
}

Semantic roles & 50–950 ramp

primary
#7EA152
secondary
#A593BB
accent
#5FC98E
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7EA152

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

Preview Lab → · Contrast checker → · Palette generator →

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