#7EAD2A#7EAD2A

#7EAD2A is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 69.0% C 0.163 H 127.8°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#7EAD2A
RGBrgb(126, 173, 42)
HSLhsl(82, 61%, 42%)
HSVhsv(82, 76%, 68%)
CMYKcmyk(27.2%, 0%, 75.7%, 32.2%)
CIE-LABlab(65.35, -34.76, 57.97)
CIE-LCHlch(65.35, 67.59, 120.95°)
OKLaboklab(68.95% -0.0998 0.1287)
OKLCHoklch(68.95% 0.163 127.8)
XYZxyz(23.9657, 34.4894, 7.5845)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAD2A #592AAD
analogous
#AD9B2A #7EAD2A #3CAD2A
triadic
#7EAD2A #2A7EAD #AD2A7E
tetradic
#7EAD2A #2AAD9B #592AAD #AD2A3C
square
#7EAD2A #2AAD9B #592AAD #AD2A3C
split-complementary
#7EAD2A #2A3CAD #9B2AAD
monochromatic
#364B12 #5A7C1E #7EAD2A #9ED143 #B8DD74

Accessibility & contrast

On white

2.66
#7EAD2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#7EAD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAD2A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAD2A#FFFFFF#000000##000000
##7EAD2A1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10B
Deuteranopia (green-blind)
#AF9E37
Tritanopia (blue-blind)
#83A594
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7ead2a;
/* rgb */ color: rgb(126, 173, 42);
/* oklch */ color: oklch(69.0% 0.163 127.8);
Tailwind
colors: {
  custom: {
    50: '#a7c56e',
    500: '#7ead2a',
    950: '#000000',
  },
}
SCSS
$custom: #7ead2a;
$custom-light: #a7c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ead2a",
  "rgb": {
    "r": 126,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 81.527,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68953,
    "c": 0.1629,
    "h": 127.8
  },
  "luminance": 0.3449
}

Semantic roles & 50–950 ramp

primary
#7EAD2A
secondary
#8D6EC5
accent
#44E47D
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EAD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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