#7EA128#7EA128

#7EA128 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.0% C 0.149 H 124.7°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7EA128
RGBrgb(126, 161, 40)
HSLhsl(77, 60%, 39%)
HSVhsv(77, 75%, 63%)
CMYKcmyk(21.7%, 0%, 75.2%, 36.9%)
CIE-LABlab(61.72, -29.26, 55.17)
CIE-LCHlch(61.72, 62.45, 117.94°)
OKLaboklab(66.01% -0.085 0.1225)
OKLCHoklch(66.01% 0.149 124.7)
XYZxyz(21.7322, 30.0783, 6.6678)
Luminance0.3008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA128 #4B28A1
analogous
#A18828 #7EA128 #42A128
triadic
#7EA128 #287EA1 #A1287E
tetradic
#7EA128 #28A188 #4B28A1 #A12842
square
#7EA128 #28A188 #4B28A1 #A12842
split-complementary
#7EA128 #2842A1 #8828A1
monochromatic
#313F10 #58701C #7EA128 #A3CE39 #B9DA6A

Accessibility & contrast

On white

2.99
#7EA128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#7EA128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA128
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA128#FFFFFF#000000##000000
##7EA1281.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960E
Deuteranopia (green-blind)
#A59533
Tritanopia (blue-blind)
#84998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea128;
/* rgb */ color: rgb(126, 161, 40);
/* oklch */ color: oklch(66.0% 0.149 124.7);
Tailwind
colors: {
  custom: {
    50: '#a7bd6b',
    500: '#7ea128',
    950: '#000000',
  },
}
SCSS
$custom: #7ea128;
$custom-light: #a7bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea128",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 77.355,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66007,
    "c": 0.14912,
    "h": 124.7
  },
  "luminance": 0.30079
}

Semantic roles & 50–950 ramp

primary
#7EA128
secondary
#7F65C0
accent
#44E372
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA128

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

Preview Lab → · Contrast checker → · Palette generator →

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