#7EAA56#7EAA56

#7EAA56 is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.7% C 0.123 H 131.7°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7EAA56
RGBrgb(126, 170, 86)
HSLhsl(91, 33%, 50%)
HSVhsv(91, 49%, 67%)
CMYKcmyk(25.9%, 0%, 49.4%, 33.3%)
CIE-LABlab(64.85, -29.59, 38.36)
CIE-LCHlch(64.85, 48.44, 127.65°)
OKLaboklab(68.68% -0.0819 0.0921)
OKLCHoklch(68.68% 0.123 131.7)
XYZxyz(24.6583, 33.8563, 14.0381)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAA56 #8256AA
analogous
#A8AA56 #7EAA56 #56AA58
triadic
#7EAA56 #567EAA #AA567E
tetradic
#7EAA56 #56A8AA #8256AA #AA5856
square
#7EAA56 #56A8AA #8256AA #AA5856
split-complementary
#7EAA56 #5856AA #AA56A8
monochromatic
#42592D #608241 #7EAA56 #9DBE7F #BCD3A7

Accessibility & contrast

On white

2.70
#7EAA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#7EAA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAA56
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAA56#FFFFFF#000000##000000
##7EAA561.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A04F
Deuteranopia (green-blind)
#AA9C5B
Tritanopia (blue-blind)
#80A496
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7eaa56;
/* rgb */ color: rgb(126, 170, 86);
/* oklch */ color: oklch(68.7% 0.123 131.7);
Tailwind
colors: {
  custom: {
    50: '#a5c387',
    500: '#7eaa56',
    950: '#000000',
  },
}
SCSS
$custom: #7eaa56;
$custom-light: #a5c387;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaa56",
  "rgb": {
    "r": 126,
    "g": 170,
    "b": 86
  },
  "hsl": {
    "h": 91.429,
    "s": 33.071,
    "l": 50.196
  },
  "oklch": {
    "l": 0.68675,
    "c": 0.12325,
    "h": 131.7
  },
  "luminance": 0.33857
}

Semantic roles & 50–950 ramp

primary
#7EAA56
secondary
#AF9BC1
accent
#5FC996
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7EAA56

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

Preview Lab → · Contrast checker → · Palette generator →

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