#7EB131#7EB131

#7EB131 is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.0% C 0.164 H 129.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7EB131
RGBrgb(126, 177, 49)
HSLhsl(84, 57%, 44%)
HSVhsv(84, 72%, 69%)
CMYKcmyk(28.8%, 0%, 72.3%, 30.6%)
CIE-LABlab(66.60, -36.17, 56.72)
CIE-LCHlch(66.60, 67.28, 122.53°)
OKLaboklab(69.98% -0.1031 0.1272)
OKLCHoklch(69.98% 0.164 129)
XYZxyz(24.8806, 36.1010, 8.5624)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB131 #6431B1
analogous
#B1A431 #7EB131 #3EB131
triadic
#7EB131 #317EB1 #B1317E
tetradic
#7EB131 #31B1A4 #6431B1 #B1313E
square
#7EB131 #31B1A4 #6431B1 #B1313E
split-complementary
#7EB131 #313EB1 #A431B1
monochromatic
#3A5116 #5C8124 #7EB131 #9CCF51 #B7DC80

Accessibility & contrast

On white

2.55
#7EB131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#7EB131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB131
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB131#FFFFFF#000000##000000
##7EB1311.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA41A
Deuteranopia (green-blind)
#B3A13D
Tritanopia (blue-blind)
#82A998
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7eb131;
/* rgb */ color: rgb(126, 177, 49);
/* oklch */ color: oklch(70.0% 0.164 129.0);
Tailwind
colors: {
  custom: {
    50: '#a7c872',
    500: '#7eb131',
    950: '#000000',
  },
}
SCSS
$custom: #7eb131;
$custom-light: #a7c872;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb131",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 83.906,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6998,
    "c": 0.16376,
    "h": 129
  },
  "luminance": 0.36102
}

Semantic roles & 50–950 ramp

primary
#7EB131
secondary
#9779C5
accent
#48E084
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB131

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

Preview Lab → · Contrast checker → · Palette generator →

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