#7EA54C#7EA54C

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

Color values

HEX#7EA54C
RGBrgb(126, 165, 76)
HSLhsl(86, 37%, 47%)
HSVhsv(86, 54%, 65%)
CMYKcmyk(23.6%, 0%, 53.9%, 35.3%)
CIE-LABlab(63.23, -28.31, 41.37)
CIE-LCHlch(63.23, 50.13, 124.38°)
OKLaboklab(67.33% -0.0791 0.0979)
OKLCHoklch(67.33% 0.126 128.9)
XYZxyz(23.3637, 31.8672, 11.7561)
Luminance0.3187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA54C #734CA5
analogous
#A59F4C #7EA54C #52A54C
triadic
#7EA54C #4C7EA5 #A54C7E
tetradic
#7EA54C #4CA59F #734CA5 #A54C52
square
#7EA54C #4CA59F #734CA5 #A54C52
split-complementary
#7EA54C #4C52A5 #9F4CA5
monochromatic
#3E5125 #5E7B39 #7EA54C #9CBD71 #B9D19B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA54C#FFFFFF#000000##000000
##7EA54C1.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)
#AC9B44
Deuteranopia (green-blind)
#A79852
Tritanopia (blue-blind)
#819F91
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ea54c;
/* rgb */ color: rgb(126, 165, 76);
/* oklch */ color: oklch(67.3% 0.126 128.9);
Tailwind
colors: {
  custom: {
    50: '#a5c080',
    500: '#7ea54c',
    950: '#000000',
  },
}
SCSS
$custom: #7ea54c;
$custom-light: #a5c080;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea54c",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 76
  },
  "hsl": {
    "h": 86.292,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.6733,
    "c": 0.1259,
    "h": 128.9
  },
  "luminance": 0.31868
}

Semantic roles & 50–950 ramp

primary
#7EA54C
secondary
#A48FBD
accent
#5BCD8D
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#0F120A
muted
#7F817C

Preview Lab

Preview with #7EA54C

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

Preview Lab → · Contrast checker → · Palette generator →

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