#7EB945#7EB945

#7EB945 is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.1% C 0.160 H 132.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7EB945
RGBrgb(126, 185, 69)
HSLhsl(91, 46%, 50%)
HSVhsv(91, 63%, 73%)
CMYKcmyk(31.9%, 0%, 62.7%, 27.5%)
CIE-LABlab(69.16, -38.26, 51.36)
CIE-LCHlch(69.16, 64.04, 126.69°)
OKLaboklab(72.11% -0.1072 0.1186)
OKLCHoklch(72.11% 0.16 132.1)
XYZxyz(27.0270, 39.5623, 11.8414)
Luminance0.3956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB945 #8045B9
analogous
#B8B945 #7EB945 #45B946
triadic
#7EB945 #457EB9 #B9457E
tetradic
#7EB945 #45B8B9 #8045B9 #B94645
square
#7EB945 #45B8B9 #8045B9 #B94645
split-complementary
#7EB945 #4645B9 #B945B8
monochromatic
#416024 #608C34 #7EB945 #9DCA71 #BCDB9E

Accessibility & contrast

On white

2.36
#7EB945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#7EB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB945
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB945#FFFFFF#000000##000000
##7EB9451.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC37
Deuteranopia (green-blind)
#B8A74E
Tritanopia (blue-blind)
#80B2A1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7eb945;
/* rgb */ color: rgb(126, 185, 69);
/* oklch */ color: oklch(72.1% 0.160 132.1);
Tailwind
colors: {
  custom: {
    50: '#a7ce7d',
    500: '#7eb945',
    950: '#000000',
  },
}
SCSS
$custom: #7eb945;
$custom-light: #a7ce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb945",
  "rgb": {
    "r": 126,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 90.517,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72111,
    "c": 0.15987,
    "h": 132.1
  },
  "luminance": 0.39563
}

Semantic roles & 50–950 ramp

primary
#7EB945
secondary
#AD93C7
accent
#52D595
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7EB945

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

Preview Lab → · Contrast checker → · Palette generator →

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