#7EA82D#7EA82D

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

Color values

HEX#7EA82D
RGBrgb(126, 168, 45)
HSLhsl(80, 58%, 42%)
HSVhsv(80, 73%, 66%)
CMYKcmyk(25%, 0%, 73.2%, 34.1%)
CIE-LABlab(63.86, -32.28, 55.47)
CIE-LCHlch(63.86, 64.18, 120.20°)
OKLaboklab(67.75% -0.0928 0.124)
OKLCHoklch(67.75% 0.155 126.8)
XYZxyz(23.0805, 32.6299, 7.5643)
Luminance0.3263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA82D #572DA8
analogous
#A8952D #7EA82D #41A82D
triadic
#7EA82D #2D7EA8 #A82D7E
tetradic
#7EA82D #2DA895 #572DA8 #A82D41
square
#7EA82D #2DA895 #572DA8 #A82D41
split-complementary
#7EA82D #2D41A8 #952DA8
monochromatic
#364713 #5A7820 #7EA82D #9FCD45 #B8DA75

Accessibility & contrast

On white

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

On black

7.53
#7EA82D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA82D
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA82D#FFFFFF#000000##000000
##7EA82D1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C16
Deuteranopia (green-blind)
#AB9A38
Tritanopia (blue-blind)
#83A090
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7ea82d;
/* rgb */ color: rgb(126, 168, 45);
/* oklch */ color: oklch(67.8% 0.155 126.8);
Tailwind
colors: {
  custom: {
    50: '#a7c26e',
    500: '#7ea82d',
    950: '#000000',
  },
}
SCSS
$custom: #7ea82d;
$custom-light: #a7c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea82d",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 45
  },
  "hsl": {
    "h": 80.488,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6775,
    "c": 0.15487,
    "h": 126.8
  },
  "luminance": 0.3263
}

Semantic roles & 50–950 ramp

primary
#7EA82D
secondary
#8B6FC2
accent
#47E17B
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA82D

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

Preview Lab → · Contrast checker → · Palette generator →

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