#7EA931#7EA931

#7EA931 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.0% C 0.154 H 127.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7EA931
RGBrgb(126, 169, 49)
HSLhsl(82, 55%, 43%)
HSVhsv(82, 71%, 66%)
CMYKcmyk(25.4%, 0%, 71%, 33.7%)
CIE-LABlab(64.19, -32.50, 54.31)
CIE-LCHlch(64.19, 63.29, 120.90°)
OKLaboklab(68.02% -0.0931 0.1222)
OKLCHoklch(68.02% 0.154 127.3)
XYZxyz(23.3466, 33.0329, 8.0511)
Luminance0.3303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA931 #5C31A9
analogous
#A99831 #7EA931 #42A931
triadic
#7EA931 #317EA9 #A9317E
tetradic
#7EA931 #31A998 #5C31A9 #A93142
square
#7EA931 #31A998 #5C31A9 #A93142
split-complementary
#7EA931 #3142A9 #9831A9
monochromatic
#374A15 #5B7A23 #7EA931 #9ECB4C #B7D97C

Accessibility & contrast

On white

2.76
#7EA931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#7EA931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA931
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA931#FFFFFF#000000##000000
##7EA9311.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D1D
Deuteranopia (green-blind)
#AC9B3B
Tritanopia (blue-blind)
#83A191
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7ea931;
/* rgb */ color: rgb(126, 169, 49);
/* oklch */ color: oklch(68.0% 0.154 127.3);
Tailwind
colors: {
  custom: {
    50: '#a7c271',
    500: '#7ea931',
    950: '#000000',
  },
}
SCSS
$custom: #7ea931;
$custom-light: #a7c271;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea931",
  "rgb": {
    "r": 126,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 81.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68024,
    "c": 0.15358,
    "h": 127.3
  },
  "luminance": 0.33033
}

Semantic roles & 50–950 ramp

primary
#7EA931
secondary
#9074C1
accent
#49DE7F
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA931

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

Preview Lab → · Contrast checker → · Palette generator →

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