#7EA728#7EA728

#7EA728 is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.5% C 0.157 H 126.3°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7EA728
RGBrgb(126, 167, 40)
HSLhsl(79, 61%, 41%)
HSVhsv(79, 76%, 65%)
CMYKcmyk(24.6%, 0%, 76%, 34.5%)
CIE-LABlab(63.53, -32.10, 56.90)
CIE-LCHlch(63.53, 65.33, 119.43°)
OKLaboklab(67.47% -0.0927 0.1262)
OKLCHoklch(67.47% 0.157 126.3)
XYZxyz(22.8060, 32.2259, 7.0258)
Luminance0.3223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA728 #5128A7
analogous
#A79028 #7EA728 #3EA728
triadic
#7EA728 #287EA7 #A7287E
tetradic
#7EA728 #28A790 #5128A7 #A7283E
square
#7EA728 #28A790 #5128A7 #A7283E
split-complementary
#7EA728 #283EA7 #9028A7
monochromatic
#334410 #59761C #7EA728 #A0D03C #B8DC6D

Accessibility & contrast

On white

2.82
#7EA728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#7EA728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA728
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA728#FFFFFF#000000##000000
##7EA7281.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B0A
Deuteranopia (green-blind)
#AA9934
Tritanopia (blue-blind)
#839F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea728;
/* rgb */ color: rgb(126, 167, 40);
/* oklch */ color: oklch(67.5% 0.157 126.3);
Tailwind
colors: {
  custom: {
    50: '#a7c16c',
    500: '#7ea728',
    950: '#000000',
  },
}
SCSS
$custom: #7ea728;
$custom-light: #a7c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea728",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 79.37,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67472,
    "c": 0.15658,
    "h": 126.3
  },
  "luminance": 0.32226
}

Semantic roles & 50–950 ramp

primary
#7EA728
secondary
#8568C3
accent
#43E477
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA728

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

Preview Lab → · Contrast checker → · Palette generator →

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