#7EA428#7EA428

#7EA428 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.7% C 0.153 H 125.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7EA428
RGBrgb(126, 164, 40)
HSLhsl(78, 61%, 40%)
HSVhsv(78, 76%, 64%)
CMYKcmyk(23.2%, 0%, 75.6%, 35.7%)
CIE-LABlab(62.63, -30.69, 56.04)
CIE-LCHlch(62.63, 63.89, 118.71°)
OKLaboklab(66.74% -0.0889 0.1244)
OKLCHoklch(66.74% 0.153 125.5)
XYZxyz(22.2628, 31.1394, 6.8447)
Luminance0.3114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA428 #4E28A4
analogous
#A48C28 #7EA428 #40A428
triadic
#7EA428 #287EA4 #A4287E
tetradic
#7EA428 #28A48C #4E28A4 #A42840
square
#7EA428 #28A48C #4E28A4 #A42840
split-complementary
#7EA428 #2840A4 #8C28A4
monochromatic
#324210 #58731C #7EA428 #A1CF3A #B9DB6B

Accessibility & contrast

On white

2.91
#7EA428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#7EA428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA428
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA428#FFFFFF#000000##000000
##7EA4281.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990C
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#849C8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ea428;
/* rgb */ color: rgb(126, 164, 40);
/* oklch */ color: oklch(66.7% 0.153 125.5);
Tailwind
colors: {
  custom: {
    50: '#a7bf6c',
    500: '#7ea428',
    950: '#000000',
  },
}
SCSS
$custom: #7ea428;
$custom-light: #a7bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea428",
  "rgb": {
    "r": 126,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 78.387,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.66739,
    "c": 0.15284,
    "h": 125.5
  },
  "luminance": 0.3114
}

Semantic roles & 50–950 ramp

primary
#7EA428
secondary
#8266C1
accent
#44E475
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA428

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

Preview Lab → · Contrast checker → · Palette generator →

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