#7EA74C#7EA74C

#7EA74C is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 67.8% C 0.129 H 129.4°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7EA74C
RGBrgb(126, 167, 76)
HSLhsl(87, 37%, 48%)
HSVhsv(87, 54%, 65%)
CMYKcmyk(24.6%, 0%, 54.5%, 34.5%)
CIE-LABlab(63.83, -29.27, 42.08)
CIE-LCHlch(63.83, 51.26, 124.82°)
OKLaboklab(67.81% -0.0818 0.0995)
OKLCHoklch(67.81% 0.129 129.4)
XYZxyz(23.7272, 32.5943, 11.8773)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA74C #754CA7
analogous
#A7A34C #7EA74C #50A74C
triadic
#7EA74C #4C7EA7 #A74C7E
tetradic
#7EA74C #4CA7A3 #754CA7 #A74C50
square
#7EA74C #4CA7A3 #754CA7 #A74C50
split-complementary
#7EA74C #4C50A7 #A34CA7
monochromatic
#3F5326 #5E7D39 #7EA74C #9CBF72 #B9D29C

Accessibility & contrast

On white

2.79
#7EA74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#7EA74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA74C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA74C#FFFFFF#000000##000000
##7EA74C1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D43
Deuteranopia (green-blind)
#A89A52
Tritanopia (blue-blind)
#81A193
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7ea74c;
/* rgb */ color: rgb(126, 167, 76);
/* oklch */ color: oklch(67.8% 0.129 129.4);
Tailwind
colors: {
  custom: {
    50: '#a6c181',
    500: '#7ea74c',
    950: '#000000',
  },
}
SCSS
$custom: #7ea74c;
$custom-light: #a6c181;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea74c",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 76
  },
  "hsl": {
    "h": 87.033,
    "s": 37.449,
    "l": 47.647
  },
  "oklch": {
    "l": 0.67814,
    "c": 0.12878,
    "h": 129.4
  },
  "luminance": 0.32595
}

Semantic roles & 50–950 ramp

primary
#7EA74C
secondary
#A590BE
accent
#5ACD8E
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#0F120A
muted
#7F817C

Preview Lab

Preview with #7EA74C

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

Preview Lab → · Contrast checker → · Palette generator →

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