#7EAC28#7EAC28

#7EAC28 is a light, vivid yellow-green. Relative luminance 0.341; OKLCH L 68.7% C 0.163 H 127.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7EAC28
RGBrgb(126, 172, 40)
HSLhsl(81, 62%, 42%)
HSVhsv(81, 77%, 67%)
CMYKcmyk(26.7%, 0%, 76.7%, 32.5%)
CIE-LABlab(65.04, -34.41, 58.33)
CIE-LCHlch(65.04, 67.73, 120.54°)
OKLaboklab(68.69% -0.099 0.1292)
OKLCHoklch(68.69% 0.163 127.5)
XYZxyz(23.7398, 34.0934, 7.3370)
Luminance0.3409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAC28 #5628AC
analogous
#AC9828 #7EAC28 #3CAC28
triadic
#7EAC28 #287EAC #AC287E
tetradic
#7EAC28 #28AC98 #5628AC #AC283C
square
#7EAC28 #28AC98 #5628AC #AC283C
split-complementary
#7EAC28 #283CAC #9828AC
monochromatic
#354911 #5A7A1C #7EAC28 #9FD23F #B8DE71

Accessibility & contrast

On white

2.69
#7EAC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#7EAC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAC28
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAC28#FFFFFF#000000##000000
##7EAC281.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A005
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#83A493
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7eac28;
/* rgb */ color: rgb(126, 172, 40);
/* oklch */ color: oklch(68.7% 0.163 127.5);
Tailwind
colors: {
  custom: {
    50: '#a7c56d',
    500: '#7eac28',
    950: '#000000',
  },
}
SCSS
$custom: #7eac28;
$custom-light: #a7c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#7eac28",
  "rgb": {
    "r": 126,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 80.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68695,
    "c": 0.16277,
    "h": 127.5
  },
  "luminance": 0.34094
}

Semantic roles & 50–950 ramp

primary
#7EAC28
secondary
#8A6BC5
accent
#42E57B
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EAC28

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

Preview Lab → · Contrast checker → · Palette generator →

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