#7EA157#7EA157

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

Color values

HEX#7EA157
RGBrgb(126, 161, 87)
HSLhsl(88, 30%, 49%)
HSVhsv(88, 46%, 63%)
CMYKcmyk(21.7%, 0%, 46%, 36.9%)
CIE-LABlab(62.18, -25.09, 34.55)
CIE-LCHlch(62.18, 42.70, 125.99°)
OKLaboklab(66.53% -0.0693 0.0836)
OKLCHoklch(66.53% 0.109 129.7)
XYZxyz(23.0691, 30.6131, 13.7085)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA157 #7A57A1
analogous
#A19F57 #7EA157 #59A157
triadic
#7EA157 #577EA1 #A1577E
tetradic
#7EA157 #57A19F #7A57A1 #A15759
square
#7EA157 #57A19F #7A57A1 #A15759
split-complementary
#7EA157 #5759A1 #9F57A1
monochromatic
#40522C #5F7942 #7EA157 #9CB97D #BACEA4

Accessibility & contrast

On white

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

On black

7.12
#7EA157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA157
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA157#FFFFFF#000000##000000
##7EA1571.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79851
Deuteranopia (green-blind)
#A2955B
Tritanopia (blue-blind)
#809B8F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea157;
/* rgb */ color: rgb(126, 161, 87);
/* oklch */ color: oklch(66.5% 0.109 129.7);
Tailwind
colors: {
  custom: {
    50: '#a5bd88',
    500: '#7ea157',
    950: '#000000',
  },
}
SCSS
$custom: #7ea157;
$custom-light: #a5bd88;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea157",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 87
  },
  "hsl": {
    "h": 88.378,
    "s": 29.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.66525,
    "c": 0.10865,
    "h": 129.7
  },
  "luminance": 0.30613
}

Semantic roles & 50–950 ramp

primary
#7EA157
secondary
#A998BC
accent
#62C691
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7EA157

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

Preview Lab → · Contrast checker → · Palette generator →

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