#7EA158#7EA158

#7EA158 is a light, moderate yellow-green. Relative luminance 0.306; OKLCH L 66.5% C 0.108 H 129.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7EA158
RGBrgb(126, 161, 88)
HSLhsl(89, 29%, 49%)
HSVhsv(89, 45%, 63%)
CMYKcmyk(21.7%, 0%, 45.3%, 36.9%)
CIE-LABlab(62.19, -24.97, 34.05)
CIE-LCHlch(62.19, 42.22, 126.25°)
OKLaboklab(66.54% -0.0689 0.0826)
OKLCHoklch(66.54% 0.108 129.9)
XYZxyz(23.1102, 30.6295, 13.9251)
Luminance0.3063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA158 #7B58A1
analogous
#A1A058 #7EA158 #5AA158
triadic
#7EA158 #587EA1 #A1587E
tetradic
#7EA158 #58A1A0 #7B58A1 #A1585A
square
#7EA158 #58A1A0 #7B58A1 #A1585A
split-complementary
#7EA158 #585AA1 #A058A1
monochromatic
#40522D #5F7942 #7EA158 #9CB87E #BBCEA5

Accessibility & contrast

On white

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

On black

7.13
#7EA158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA158
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA158#FFFFFF#000000##000000
##7EA1581.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79852
Deuteranopia (green-blind)
#A2955C
Tritanopia (blue-blind)
#809B90
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea158;
/* rgb */ color: rgb(126, 161, 88);
/* oklch */ color: oklch(66.5% 0.108 129.9);
Tailwind
colors: {
  custom: {
    50: '#a5bd88',
    500: '#7ea158',
    950: '#000000',
  },
}
SCSS
$custom: #7ea158;
$custom-light: #a5bd88;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea158",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 88
  },
  "hsl": {
    "h": 88.767,
    "s": 29.317,
    "l": 48.824
  },
  "oklch": {
    "l": 0.66541,
    "c": 0.10757,
    "h": 129.9
  },
  "luminance": 0.3063
}

Semantic roles & 50–950 ramp

primary
#7EA158
secondary
#AA99BC
accent
#62C692
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7EA158

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

Preview Lab → · Contrast checker → · Palette generator →

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