#7EA820#7EA820

#7EA820 is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 67.7% C 0.162 H 126.2°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7EA820
RGBrgb(126, 168, 32)
HSLhsl(79, 68%, 39%)
HSVhsv(79, 81%, 66%)
CMYKcmyk(25%, 0%, 81%, 34.1%)
CIE-LABlab(63.79, -32.95, 59.63)
CIE-LCHlch(63.79, 68.13, 118.92°)
OKLaboklab(67.67% -0.0956 0.1306)
OKLCHoklch(67.67% 0.162 126.2)
XYZxyz(22.8677, 32.5448, 6.4432)
Luminance0.3255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA820 #4A20A8
analogous
#A88E20 #7EA820 #3AA820
triadic
#7EA820 #207EA8 #A8207E
tetradic
#7EA820 #20A88E #4A20A8 #A8203A
square
#7EA820 #20A88E #4A20A8 #A8203A
split-complementary
#7EA820 #203AA8 #8E20A8
monochromatic
#31410C #577516 #7EA820 #A3D72E #BAE161

Accessibility & contrast

On white

2.80
#7EA820 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#7EA820 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA820
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA820#FFFFFF#000000##000000
##7EA8201.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AC9A2F
Tritanopia (blue-blind)
#84A08F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea820;
/* rgb */ color: rgb(126, 168, 32);
/* oklch */ color: oklch(67.7% 0.162 126.2);
Tailwind
colors: {
  custom: {
    50: '#a8c269',
    500: '#7ea820',
    950: '#000000',
  },
}
SCSS
$custom: #7ea820;
$custom-light: #a8c269;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea820",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 78.529,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67671,
    "c": 0.16188,
    "h": 126.2
  },
  "luminance": 0.32545
}

Semantic roles & 50–950 ramp

primary
#7EA820
secondary
#7E5EC6
accent
#3DEB73
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA820

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

Preview Lab → · Contrast checker → · Palette generator →

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