#7EA131#7EA131

#7EA131 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.1% C 0.143 H 125.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7EA131
RGBrgb(126, 161, 49)
HSLhsl(79, 53%, 41%)
HSVhsv(79, 70%, 63%)
CMYKcmyk(21.7%, 0%, 69.6%, 36.9%)
CIE-LABlab(61.78, -28.72, 51.87)
CIE-LCHlch(61.78, 59.28, 118.97°)
OKLaboklab(66.07% -0.0827 0.117)
OKLCHoklch(66.07% 0.143 125.2)
XYZxyz(21.9036, 30.1468, 7.5701)
Luminance0.3015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA131 #5431A1
analogous
#A18C31 #7EA131 #46A131
triadic
#7EA131 #317EA1 #A1317E
tetradic
#7EA131 #31A18C #5431A1 #A13146
square
#7EA131 #31A18C #5431A1 #A13146
split-complementary
#7EA131 #3146A1 #8C31A1
monochromatic
#354314 #597223 #7EA131 #9FC748 #B8D677

Accessibility & contrast

On white

2.99
#7EA131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7EA131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA131
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA131#FFFFFF#000000##000000
##7EA1311.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9620
Deuteranopia (green-blind)
#A5953A
Tritanopia (blue-blind)
#84998B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea131;
/* rgb */ color: rgb(126, 161, 49);
/* oklch */ color: oklch(66.1% 0.143 125.2);
Tailwind
colors: {
  custom: {
    50: '#a6bd70',
    500: '#7ea131',
    950: '#000000',
  },
}
SCSS
$custom: #7ea131;
$custom-light: #a6bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea131",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 78.75,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66074,
    "c": 0.1433,
    "h": 125.2
  },
  "luminance": 0.30147
}

Semantic roles & 50–950 ramp

primary
#7EA131
secondary
#8870BE
accent
#4BDD79
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA131

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

Preview Lab → · Contrast checker → · Palette generator →

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