#7EA245#7EA245

#7EA245 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.5% C 0.128 H 127.3°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7EA245
RGBrgb(126, 162, 69)
HSLhsl(83, 40%, 45%)
HSVhsv(83, 57%, 64%)
CMYKcmyk(22.2%, 0%, 57.4%, 36.5%)
CIE-LABlab(62.26, -27.57, 43.61)
CIE-LCHlch(62.26, 51.59, 122.30°)
OKLaboklab(66.52% -0.0777 0.1021)
OKLCHoklch(66.52% 0.128 127.3)
XYZxyz(22.5986, 30.7056, 10.3652)
Luminance0.3071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA245 #6945A2
analogous
#A29845 #7EA245 #4FA245
triadic
#7EA245 #457EA2 #A2457E
tetradic
#7EA245 #45A298 #6945A2 #A2454F
square
#7EA245 #45A298 #6945A2 #A2454F
split-complementary
#7EA245 #454FA2 #9845A2
monochromatic
#3B4C20 #5D7733 #7EA245 #9CBE66 #B8D091

Accessibility & contrast

On white

2.94
#7EA245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#7EA245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA245
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA245#FFFFFF#000000##000000
##7EA2451.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA983B
Deuteranopia (green-blind)
#A5964B
Tritanopia (blue-blind)
#829B8E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea245;
/* rgb */ color: rgb(126, 162, 69);
/* oklch */ color: oklch(66.5% 0.128 127.3);
Tailwind
colors: {
  custom: {
    50: '#a6bd7c',
    500: '#7ea245',
    950: '#000000',
  },
}
SCSS
$custom: #7ea245;
$custom-light: #a6bd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea245",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 83.226,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66517,
    "c": 0.12828,
    "h": 127.3
  },
  "luminance": 0.30706
}

Semantic roles & 50–950 ramp

primary
#7EA245
secondary
#9B87BC
accent
#58D086
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7EA245

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

Preview Lab → · Contrast checker → · Palette generator →

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