#7EA162#7EA162

#7EA162 is a light, moderate yellow-green. Relative luminance 0.308; OKLCH L 66.7% C 0.096 H 132.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7EA162
RGBrgb(126, 161, 98)
HSLhsl(93, 25%, 51%)
HSVhsv(93, 39%, 63%)
CMYKcmyk(21.7%, 0%, 39.1%, 36.9%)
CIE-LABlab(62.34, -23.63, 28.97)
CIE-LCHlch(62.34, 37.39, 129.21°)
OKLaboklab(66.71% -0.0647 0.0714)
OKLCHoklch(66.71% 0.096 132.2)
XYZxyz(23.5532, 30.8067, 16.2583)
Luminance0.3081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA162 #8562A1
analogous
#9EA162 #7EA162 #62A165
triadic
#7EA162 #627EA1 #A1627E
tetradic
#7EA162 #629EA1 #8562A1 #A16562
square
#7EA162 #629EA1 #8562A1 #A16562
split-complementary
#7EA162 #6562A1 #A1629E
monochromatic
#425533 #607C4A #7EA162 #9DB888 #BDCFAF

Accessibility & contrast

On white

2.93
#7EA162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#7EA162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA162
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA162#FFFFFF#000000##000000
##7EA1621.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6985D
Deuteranopia (green-blind)
#A19665
Tritanopia (blue-blind)
#7F9C91
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ea162;
/* rgb */ color: rgb(126, 161, 98);
/* oklch */ color: oklch(66.7% 0.096 132.2);
Tailwind
colors: {
  custom: {
    50: '#a4bd8f',
    500: '#7ea162',
    950: '#000000',
  },
}
SCSS
$custom: #7ea162;
$custom-light: #a4bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea162",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 98
  },
  "hsl": {
    "h": 93.333,
    "s": 25.1,
    "l": 50.784
  },
  "oklch": {
    "l": 0.66711,
    "c": 0.09638,
    "h": 132.2
  },
  "luminance": 0.30807
}

Semantic roles & 50–950 ramp

primary
#7EA162
secondary
#B1A1BD
accent
#66C299
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7EA162

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

Preview Lab → · Contrast checker → · Palette generator →

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