#7EB162#7EB162

#7EB162 is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.5% C 0.121 H 135.3°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7EB162
RGBrgb(126, 177, 98)
HSLhsl(99, 34%, 54%)
HSVhsv(99, 45%, 69%)
CMYKcmyk(28.8%, 0%, 44.6%, 30.6%)
CIE-LABlab(67.10, -31.41, 35.05)
CIE-LCHlch(67.10, 47.07, 131.87°)
OKLaboklab(70.55% -0.0863 0.0854)
OKLCHoklch(70.55% 0.121 135.3)
XYZxyz(26.5303, 36.7609, 17.2506)
Luminance0.3676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB162 #9562B1
analogous
#A6B162 #7EB162 #62B16E
triadic
#7EB162 #627EB1 #B1627E
tetradic
#7EB162 #62A6B1 #9562B1 #B16E62
square
#7EB162 #62A6B1 #9562B1 #B16E62
split-complementary
#7EB162 #6E62B1 #B162A6
monochromatic
#456633 #608F47 #7EB162 #A0C58B #C1DAB4

Accessibility & contrast

On white

2.51
#7EB162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#7EB162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB162
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB162#FFFFFF#000000##000000
##7EB1621.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A65C
Deuteranopia (green-blind)
#AFA267
Tritanopia (blue-blind)
#7DAC9E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7eb162;
/* rgb */ color: rgb(126, 177, 98);
/* oklch */ color: oklch(70.5% 0.121 135.3);
Tailwind
colors: {
  custom: {
    50: '#a5c890',
    500: '#7eb162',
    950: '#000000',
  },
}
SCSS
$custom: #7eb162;
$custom-light: #a5c890;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb162",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 98.734,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.70548,
    "c": 0.12135,
    "h": 135.3
  },
  "luminance": 0.36762
}

Semantic roles & 50–950 ramp

primary
#7EB162
secondary
#BCA7C8
accent
#5ECAA4
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130C
muted
#7F827D

Preview Lab

Preview with #7EB162

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

Preview Lab → · Contrast checker → · Palette generator →

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