#7EB831#7EB831

#7EB831 is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 71.7% C 0.173 H 130.3°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#7EB831
RGBrgb(126, 184, 49)
HSLhsl(86, 58%, 46%)
HSVhsv(86, 73%, 72%)
CMYKcmyk(31.5%, 0%, 73.4%, 27.8%)
CIE-LABlab(68.71, -39.30, 58.81)
CIE-LCHlch(68.71, 70.73, 123.75°)
OKLaboklab(71.7% -0.1116 0.1316)
OKLCHoklch(71.7% 0.173 130.3)
XYZxyz(26.2989, 38.9375, 9.0352)
Luminance0.3894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB831 #6B31B8
analogous
#B8AE31 #7EB831 #3AB831
triadic
#7EB831 #317EB8 #B8317E
tetradic
#7EB831 #31B8AE #6B31B8 #B8313A
square
#7EB831 #31B8AE #6B31B8 #B8313A
split-complementary
#7EB831 #313AB8 #AE31B8
monochromatic
#3C5717 #5D8824 #7EB831 #9CD255 #B8DE85

Accessibility & contrast

On white

2.39
#7EB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#7EB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB831
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB831#FFFFFF#000000##000000
##7EB8311.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA17
Deuteranopia (green-blind)
#B8A63E
Tritanopia (blue-blind)
#81B09E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7eb831;
/* rgb */ color: rgb(126, 184, 49);
/* oklch */ color: oklch(71.7% 0.173 130.3);
Tailwind
colors: {
  custom: {
    50: '#a8cd72',
    500: '#7eb831',
    950: '#000000',
  },
}
SCSS
$custom: #7eb831;
$custom-light: #a8cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb831",
  "rgb": {
    "r": 126,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 85.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71696,
    "c": 0.17256,
    "h": 130.3
  },
  "luminance": 0.38938
}

Semantic roles & 50–950 ramp

primary
#7EB831
secondary
#9D7DC8
accent
#47E189
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB831

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

Preview Lab → · Contrast checker → · Palette generator →

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