#7EA628#7EA628

#7EA628 is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.2% C 0.155 H 126.1°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7EA628
RGBrgb(126, 166, 40)
HSLhsl(79, 61%, 40%)
HSVhsv(79, 76%, 65%)
CMYKcmyk(24.1%, 0%, 75.9%, 34.9%)
CIE-LABlab(63.23, -31.63, 56.61)
CIE-LCHlch(63.23, 64.85, 119.19°)
OKLaboklab(67.23% -0.0914 0.1256)
OKLCHoklch(67.23% 0.155 126.1)
XYZxyz(22.6235, 31.8609, 6.9649)
Luminance0.3186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA628 #5028A6
analogous
#A68F28 #7EA628 #3FA628
triadic
#7EA628 #287EA6 #A6287E
tetradic
#7EA628 #28A68F #5028A6 #A6283F
square
#7EA628 #28A68F #5028A6 #A6283F
split-complementary
#7EA628 #283FA6 #8F28A6
monochromatic
#334310 #59751C #7EA628 #A1D03B #B8DC6D

Accessibility & contrast

On white

2.85
#7EA628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#7EA628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA628
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA628#FFFFFF#000000##000000
##7EA6281.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B0A
Deuteranopia (green-blind)
#AA9834
Tritanopia (blue-blind)
#849E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ea628;
/* rgb */ color: rgb(126, 166, 40);
/* oklch */ color: oklch(67.2% 0.155 126.1);
Tailwind
colors: {
  custom: {
    50: '#a7c06c',
    500: '#7ea628',
    950: '#000000',
  },
}
SCSS
$custom: #7ea628;
$custom-light: #a7c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea628",
  "rgb": {
    "r": 126,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 79.048,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67228,
    "c": 0.15533,
    "h": 126.1
  },
  "luminance": 0.31861
}

Semantic roles & 50–950 ramp

primary
#7EA628
secondary
#8467C2
accent
#44E477
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA628

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

Preview Lab → · Contrast checker → · Palette generator →

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