#7EAB31#7EAB31

#7EAB31 is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.5% C 0.156 H 127.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7EAB31
RGBrgb(126, 171, 49)
HSLhsl(82, 55%, 43%)
HSVhsv(82, 71%, 67%)
CMYKcmyk(26.3%, 0%, 71.3%, 32.9%)
CIE-LABlab(64.79, -33.43, 54.92)
CIE-LCHlch(64.79, 64.29, 121.33°)
OKLaboklab(68.51% -0.0956 0.1234)
OKLCHoklch(68.51% 0.156 127.8)
XYZxyz(23.7215, 33.7827, 8.1761)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAB31 #5E31AB
analogous
#AB9B31 #7EAB31 #41AB31
triadic
#7EAB31 #317EAB #AB317E
tetradic
#7EAB31 #31AB9B #5E31AB #AB3141
square
#7EAB31 #31AB9B #5E31AB #AB3141
split-complementary
#7EAB31 #3141AB #9B31AB
monochromatic
#384C16 #5B7B23 #7EAB31 #9DCC4D #B7DA7D

Accessibility & contrast

On white

2.71
#7EAB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#7EAB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAB31
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAB31#FFFFFF#000000##000000
##7EAB311.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1C
Deuteranopia (green-blind)
#AD9C3C
Tritanopia (blue-blind)
#83A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7eab31;
/* rgb */ color: rgb(126, 171, 49);
/* oklch */ color: oklch(68.5% 0.156 127.8);
Tailwind
colors: {
  custom: {
    50: '#a7c471',
    500: '#7eab31',
    950: '#000000',
  },
}
SCSS
$custom: #7eab31;
$custom-light: #a7c471;
$custom-dark: #000000;
JSON
{
  "hex": "#7eab31",
  "rgb": {
    "r": 126,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 82.131,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68512,
    "c": 0.15614,
    "h": 127.8
  },
  "luminance": 0.33783
}

Semantic roles & 50–950 ramp

primary
#7EAB31
secondary
#9275C2
accent
#49DF80
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EAB31

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

Preview Lab → · Contrast checker → · Palette generator →

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