#7EA845#7EA845

#7EA845 is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 68.0% C 0.137 H 128.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7EA845
RGBrgb(126, 168, 69)
HSLhsl(85, 42%, 46%)
HSVhsv(85, 59%, 66%)
CMYKcmyk(25%, 0%, 58.9%, 34.1%)
CIE-LABlab(64.06, -30.44, 45.66)
CIE-LCHlch(64.06, 54.88, 123.69°)
OKLaboklab(67.97% -0.0856 0.1065)
OKLCHoklch(67.97% 0.137 128.8)
XYZxyz(23.6809, 32.8701, 10.7260)
Luminance0.3287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA845 #6F45A8
analogous
#A8A145 #7EA845 #4DA845
triadic
#7EA845 #457EA8 #A8457E
tetradic
#7EA845 #45A8A1 #6F45A8 #A8454D
square
#7EA845 #45A8A1 #6F45A8 #A8454D
split-complementary
#7EA845 #454DA8 #A145A8
monochromatic
#3D5121 #5D7D33 #7EA845 #9CC169 #B8D394

Accessibility & contrast

On white

2.77
#7EA845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#7EA845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA845
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA845#FFFFFF#000000##000000
##7EA8451.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D3A
Deuteranopia (green-blind)
#AA9A4C
Tritanopia (blue-blind)
#81A193
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7ea845;
/* rgb */ color: rgb(126, 168, 69);
/* oklch */ color: oklch(68.0% 0.137 128.8);
Tailwind
colors: {
  custom: {
    50: '#a6c27c',
    500: '#7ea845',
    950: '#000000',
  },
}
SCSS
$custom: #7ea845;
$custom-light: #a6c27c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea845",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 69
  },
  "hsl": {
    "h": 85.455,
    "s": 41.772,
    "l": 46.471
  },
  "oklch": {
    "l": 0.67971,
    "c": 0.13665,
    "h": 128.8
  },
  "luminance": 0.32871
}

Semantic roles & 50–950 ramp

primary
#7EA845
secondary
#A08ABF
accent
#56D28B
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7EA845

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

Preview Lab → · Contrast checker → · Palette generator →

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