#7EA831#7EA831

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

Color values

HEX#7EA831
RGBrgb(126, 168, 49)
HSLhsl(81, 55%, 43%)
HSVhsv(81, 71%, 66%)
CMYKcmyk(25%, 0%, 70.8%, 34.1%)
CIE-LABlab(63.89, -32.03, 54.01)
CIE-LCHlch(63.89, 62.79, 120.67°)
OKLaboklab(67.78% -0.0918 0.1215)
OKLCHoklch(67.78% 0.152 127.1)
XYZxyz(23.1612, 32.6622, 7.9893)
Luminance0.3266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA831 #5B31A8
analogous
#A89631 #7EA831 #43A831
triadic
#7EA831 #317EA8 #A8317E
tetradic
#7EA831 #31A896 #5B31A8 #A83143
square
#7EA831 #31A896 #5B31A8 #A83143
split-complementary
#7EA831 #3143A8 #9631A8
monochromatic
#374915 #5A7923 #7EA831 #9ECB4C #B7D87B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA831#FFFFFF#000000##000000
##7EA8311.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)
#B19D1E
Deuteranopia (green-blind)
#AB9A3B
Tritanopia (blue-blind)
#83A091
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7ea831;
/* rgb */ color: rgb(126, 168, 49);
/* oklch */ color: oklch(67.8% 0.152 127.1);
Tailwind
colors: {
  custom: {
    50: '#a7c271',
    500: '#7ea831',
    950: '#000000',
  },
}
SCSS
$custom: #7ea831;
$custom-light: #a7c271;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea831",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 81.176,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6778,
    "c": 0.1523,
    "h": 127.1
  },
  "luminance": 0.32663
}

Semantic roles & 50–950 ramp

primary
#7EA831
secondary
#8F74C1
accent
#4ADE7E
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA831

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

Preview Lab → · Contrast checker → · Palette generator →

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