#7EB260#7EB260

#7EB260 is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.8% C 0.125 H 135.0°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7EB260
RGBrgb(126, 178, 96)
HSLhsl(98, 35%, 54%)
HSVhsv(98, 46%, 70%)
CMYKcmyk(29.2%, 0%, 46.1%, 30.2%)
CIE-LABlab(67.37, -32.14, 36.41)
CIE-LCHlch(67.37, 48.57, 131.44°)
OKLaboklab(70.76% -0.0884 0.0883)
OKLCHoklch(70.76% 0.125 135)
XYZxyz(26.6353, 37.1200, 16.8256)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB260 #9460B2
analogous
#A7B260 #7EB260 #60B26B
triadic
#7EB260 #607EB2 #B2607E
tetradic
#7EB260 #60A7B2 #9460B2 #B26B60
square
#7EB260 #60A7B2 #9460B2 #B26B60
split-complementary
#7EB260 #6B60B2 #B260A7
monochromatic
#456631 #608F45 #7EB260 #9FC689 #C1DAB2

Accessibility & contrast

On white

2.49
#7EB260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#7EB260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB260
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB260#FFFFFF#000000##000000
##7EB2601.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A759
Deuteranopia (green-blind)
#B0A265
Tritanopia (blue-blind)
#7EAD9F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7eb260;
/* rgb */ color: rgb(126, 178, 96);
/* oklch */ color: oklch(70.8% 0.125 135.0);
Tailwind
colors: {
  custom: {
    50: '#a5c98e',
    500: '#7eb260',
    950: '#000000',
  },
}
SCSS
$custom: #7eb260;
$custom-light: #a5c98e;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb260",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 96
  },
  "hsl": {
    "h": 98.049,
    "s": 34.746,
    "l": 53.725
  },
  "oklch": {
    "l": 0.70757,
    "c": 0.12495,
    "h": 135
  },
  "luminance": 0.37121
}

Semantic roles & 50–950 ramp

primary
#7EB260
secondary
#BCA5C8
accent
#5DCBA3
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130C
muted
#7F827D

Preview Lab

Preview with #7EB260

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

Preview Lab → · Contrast checker → · Palette generator →

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