#7EB45C#7EB45C

#7EB45C is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.2% C 0.132 H 134.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7EB45C
RGBrgb(126, 180, 92)
HSLhsl(97, 37%, 53%)
HSVhsv(97, 49%, 71%)
CMYKcmyk(30%, 0%, 48.9%, 29.4%)
CIE-LABlab(67.91, -33.58, 39.10)
CIE-LCHlch(67.91, 51.54, 130.66°)
OKLaboklab(71.18% -0.0926 0.0941)
OKLCHoklch(71.18% 0.132 134.5)
XYZxyz(26.8566, 37.8499, 16.0139)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB45C #925CB4
analogous
#AAB45C #7EB45C #5CB466
triadic
#7EB45C #5C7EB4 #B45C7E
tetradic
#7EB45C #5CAAB4 #925CB4 #B4665C
square
#7EB45C #5CAAB4 #925CB4 #B4665C
split-complementary
#7EB45C #665CB4 #B45CAA
monochromatic
#45662F #619042 #7EB45C #9FC786 #C0DBB0

Accessibility & contrast

On white

2.45
#7EB45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#7EB45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB45C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB45C#FFFFFF#000000##000000
##7EB45C1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA855
Deuteranopia (green-blind)
#B2A461
Tritanopia (blue-blind)
#7EAE9F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7eb45c;
/* rgb */ color: rgb(126, 180, 92);
/* oklch */ color: oklch(71.2% 0.132 134.5);
Tailwind
colors: {
  custom: {
    50: '#a6ca8c',
    500: '#7eb45c',
    950: '#000000',
  },
}
SCSS
$custom: #7eb45c;
$custom-light: #a6ca8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb45c",
  "rgb": {
    "r": 126,
    "g": 180,
    "b": 92
  },
  "hsl": {
    "h": 96.818,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7118,
    "c": 0.13201,
    "h": 134.5
  },
  "luminance": 0.37851
}

Semantic roles & 50–950 ramp

primary
#7EB45C
secondary
#BAA3C9
accent
#5BCDA1
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130C
muted
#7F827D

Preview Lab

Preview with #7EB45C

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

Preview Lab → · Contrast checker → · Palette generator →

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