#7EAB28#7EAB28

#7EAB28 is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.5% C 0.162 H 127.2°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7EAB28
RGBrgb(126, 171, 40)
HSLhsl(81, 62%, 41%)
HSVhsv(81, 77%, 67%)
CMYKcmyk(26.3%, 0%, 76.6%, 32.9%)
CIE-LABlab(64.74, -33.95, 58.05)
CIE-LCHlch(64.74, 67.25, 120.32°)
OKLaboklab(68.45% -0.0978 0.1286)
OKLCHoklch(68.45% 0.162 127.2)
XYZxyz(23.5502, 33.7142, 7.2738)
Luminance0.3372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAB28 #5528AB
analogous
#AB9728 #7EAB28 #3DAB28
triadic
#7EAB28 #287EAB #AB287E
tetradic
#7EAB28 #28AB97 #5528AB #AB283D
square
#7EAB28 #28AB97 #5528AB #AB283D
split-complementary
#7EAB28 #283DAB #9728AB
monochromatic
#354811 #59791C #7EAB28 #9FD23E #B8DE70

Accessibility & contrast

On white

2.71
#7EAB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#7EAB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAB28
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAB28#FFFFFF#000000##000000
##7EAB281.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F06
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#83A392
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7eab28;
/* rgb */ color: rgb(126, 171, 40);
/* oklch */ color: oklch(68.5% 0.162 127.2);
Tailwind
colors: {
  custom: {
    50: '#a7c46c',
    500: '#7eab28',
    950: '#000000',
  },
}
SCSS
$custom: #7eab28;
$custom-light: #a7c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#7eab28",
  "rgb": {
    "r": 126,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 80.611,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68451,
    "c": 0.16153,
    "h": 127.2
  },
  "luminance": 0.33715
}

Semantic roles & 50–950 ramp

primary
#7EAB28
secondary
#896AC4
accent
#43E57A
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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