#7EB931#7EB931

#7EB931 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 71.9% C 0.174 H 130.5°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7EB931
RGBrgb(126, 185, 49)
HSLhsl(86, 58%, 46%)
HSVhsv(86, 74%, 73%)
CMYKcmyk(31.9%, 0%, 73.5%, 27.5%)
CIE-LABlab(69.01, -39.74, 59.11)
CIE-LCHlch(69.01, 71.22, 123.91°)
OKLaboklab(71.94% -0.1128 0.1322)
OKLCHoklch(71.94% 0.174 130.5)
XYZxyz(26.5073, 39.3544, 9.1047)
Luminance0.3936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB931 #6C31B9
analogous
#B9B031 #7EB931 #3AB931
triadic
#7EB931 #317EB9 #B9317E
tetradic
#7EB931 #31B9B0 #6C31B9 #B9313A
square
#7EB931 #31B9B0 #6C31B9 #B9313A
split-complementary
#7EB931 #313AB9 #B031B9
monochromatic
#3C5817 #5D8924 #7EB931 #9CD255 #B8DF86

Accessibility & contrast

On white

2.37
#7EB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#7EB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB931
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB931#FFFFFF#000000##000000
##7EB9311.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB16
Deuteranopia (green-blind)
#B9A73E
Tritanopia (blue-blind)
#81B19F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7eb931;
/* rgb */ color: rgb(126, 185, 49);
/* oklch */ color: oklch(71.9% 0.174 130.5);
Tailwind
colors: {
  custom: {
    50: '#a8ce72',
    500: '#7eb931',
    950: '#000000',
  },
}
SCSS
$custom: #7eb931;
$custom-light: #a8ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb931",
  "rgb": {
    "r": 126,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 86.029,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71942,
    "c": 0.17381,
    "h": 130.5
  },
  "luminance": 0.39355
}

Semantic roles & 50–950 ramp

primary
#7EB931
secondary
#9E7DC8
accent
#46E18A
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB931

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

Preview Lab → · Contrast checker → · Palette generator →

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