#7EA031#7EA031

#7EA031 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.8% C 0.142 H 125.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7EA031
RGBrgb(126, 160, 49)
HSLhsl(78, 53%, 41%)
HSVhsv(78, 69%, 63%)
CMYKcmyk(21.2%, 0%, 69.4%, 37.3%)
CIE-LABlab(61.48, -28.23, 51.56)
CIE-LCHlch(61.48, 58.78, 118.71°)
OKLaboklab(65.83% -0.0814 0.1164)
OKLCHoklch(65.83% 0.142 125)
XYZxyz(21.7295, 29.7987, 7.5121)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA031 #5331A0
analogous
#A08A31 #7EA031 #47A031
triadic
#7EA031 #317EA0 #A0317E
tetradic
#7EA031 #31A08A #5331A0 #A03147
square
#7EA031 #31A08A #5331A0 #A03147
split-complementary
#7EA031 #3147A0 #8A31A0
monochromatic
#344214 #597123 #7EA031 #A0C747 #B8D576

Accessibility & contrast

On white

3.02
#7EA031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7EA031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7EA031
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA031#FFFFFF#000000##000000
##7EA0311.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99620
Deuteranopia (green-blind)
#A4943A
Tritanopia (blue-blind)
#84988A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ea031;
/* rgb */ color: rgb(126, 160, 49);
/* oklch */ color: oklch(65.8% 0.142 125.0);
Tailwind
colors: {
  custom: {
    50: '#a6bc70',
    500: '#7ea031',
    950: '#000000',
  },
}
SCSS
$custom: #7ea031;
$custom-light: #a6bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea031",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 78.378,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65831,
    "c": 0.14201,
    "h": 125
  },
  "luminance": 0.29799
}

Semantic roles & 50–950 ramp

primary
#7EA031
secondary
#8770BD
accent
#4BDD78
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA031

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

Preview Lab → · Contrast checker → · Palette generator →

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