#7EA54A#7EA54A

#7EA54A is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.3% C 0.128 H 128.7°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7EA54A
RGBrgb(126, 165, 74)
HSLhsl(86, 38%, 47%)
HSVhsv(86, 55%, 65%)
CMYKcmyk(23.6%, 0%, 55.2%, 35.3%)
CIE-LABlab(63.21, -28.52, 42.32)
CIE-LCHlch(63.21, 51.03, 123.98°)
OKLaboklab(67.3% -0.0799 0.0998)
OKLCHoklch(67.3% 0.128 128.7)
XYZxyz(23.2952, 31.8399, 11.3956)
Luminance0.3184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA54A #714AA5
analogous
#A59F4A #7EA54A #51A54A
triadic
#7EA54A #4A7EA5 #A54A7E
tetradic
#7EA54A #4AA59F #714AA5 #A54A51
square
#7EA54A #4AA59F #714AA5 #A54A51
split-complementary
#7EA54A #4A51A5 #9F4AA5
monochromatic
#3D5024 #5E7B37 #7EA54A #9CBE6E #B9D198

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA54A#FFFFFF#000000##000000
##7EA54A1.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)
#AC9B41
Deuteranopia (green-blind)
#A79850
Tritanopia (blue-blind)
#819E91
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ea54a;
/* rgb */ color: rgb(126, 165, 74);
/* oklch */ color: oklch(67.3% 0.128 128.7);
Tailwind
colors: {
  custom: {
    50: '#a6c07f',
    500: '#7ea54a',
    950: '#000000',
  },
}
SCSS
$custom: #7ea54a;
$custom-light: #a6c07f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea54a",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 74
  },
  "hsl": {
    "h": 85.714,
    "s": 38.075,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67304,
    "c": 0.12783,
    "h": 128.7
  },
  "luminance": 0.3184
}

Semantic roles & 50–950 ramp

primary
#7EA54A
secondary
#A28EBD
accent
#5ACE8C
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#0F120A
muted
#7F817C

Preview Lab

Preview with #7EA54A

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

Preview Lab → · Contrast checker → · Palette generator →

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