#7EB45F#7EB45F

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

Color values

HEX#7EB45F
RGBrgb(126, 180, 95)
HSLhsl(98, 36%, 54%)
HSVhsv(98, 47%, 71%)
CMYKcmyk(30%, 0%, 47.2%, 29.4%)
CIE-LABlab(67.95, -33.21, 37.64)
CIE-LCHlch(67.95, 50.20, 131.42°)
OKLaboklab(71.22% -0.0914 0.091)
OKLCHoklch(71.22% 0.129 135.1)
XYZxyz(26.9904, 37.9034, 16.7183)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB45F #955FB4
analogous
#A9B45F #7EB45F #5FB46B
triadic
#7EB45F #5F7EB4 #B45F7E
tetradic
#7EB45F #5FA9B4 #955FB4 #B46B5F
square
#7EB45F #5FA9B4 #955FB4 #B46B5F
split-complementary
#7EB45F #6B5FB4 #B45FA9
monochromatic
#456831 #609244 #7EB45F #A0C889 #C1DBB2

Accessibility & contrast

On white

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

On black

8.58
#7EB45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB45F
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB45F#FFFFFF#000000##000000
##7EB45F1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA858
Deuteranopia (green-blind)
#B2A464
Tritanopia (blue-blind)
#7DAEA0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7eb45f;
/* rgb */ color: rgb(126, 180, 95);
/* oklch */ color: oklch(71.2% 0.129 135.1);
Tailwind
colors: {
  custom: {
    50: '#a6ca8e',
    500: '#7eb45f',
    950: '#000000',
  },
}
SCSS
$custom: #7eb45f;
$custom-light: #a6ca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb45f",
  "rgb": {
    "r": 126,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 98.118,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71224,
    "c": 0.12898,
    "h": 135.1
  },
  "luminance": 0.37904
}

Semantic roles & 50–950 ramp

primary
#7EB45F
secondary
#BCA5CA
accent
#5CCCA3
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130C
muted
#7F827D

Preview Lab

Preview with #7EB45F

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

Preview Lab → · Contrast checker → · Palette generator →

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