#7EAA31#7EAA31

#7EAA31 is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 68.3% C 0.155 H 127.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7EAA31
RGBrgb(126, 170, 49)
HSLhsl(82, 55%, 43%)
HSVhsv(82, 71%, 67%)
CMYKcmyk(25.9%, 0%, 71.2%, 33.3%)
CIE-LABlab(64.49, -32.97, 54.61)
CIE-LCHlch(64.49, 63.79, 121.12°)
OKLaboklab(68.27% -0.0943 0.1228)
OKLCHoklch(68.27% 0.155 127.5)
XYZxyz(23.5333, 33.4063, 8.1133)
Luminance0.3341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAA31 #5D31AA
analogous
#AA9931 #7EAA31 #42AA31
triadic
#7EAA31 #317EAA #AA317E
tetradic
#7EAA31 #31AA99 #5D31AA #AA3142
square
#7EAA31 #31AA99 #5D31AA #AA3142
split-complementary
#7EAA31 #3142AA #9931AA
monochromatic
#384B16 #5B7A23 #7EAA31 #9DCC4D #B7D97C

Accessibility & contrast

On white

2.73
#7EAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#7EAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAA31
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAA31#FFFFFF#000000##000000
##7EAA311.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1D
Deuteranopia (green-blind)
#AD9C3C
Tritanopia (blue-blind)
#83A292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7eaa31;
/* rgb */ color: rgb(126, 170, 49);
/* oklch */ color: oklch(68.3% 0.155 127.5);
Tailwind
colors: {
  custom: {
    50: '#a7c371',
    500: '#7eaa31',
    950: '#000000',
  },
}
SCSS
$custom: #7eaa31;
$custom-light: #a7c371;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaa31",
  "rgb": {
    "r": 126,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 81.818,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68268,
    "c": 0.15486,
    "h": 127.5
  },
  "luminance": 0.33407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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