#7EA731#7EA731

#7EA731 is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.5% C 0.151 H 126.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7EA731
RGBrgb(126, 167, 49)
HSLhsl(81, 55%, 42%)
HSVhsv(81, 71%, 65%)
CMYKcmyk(24.6%, 0%, 70.7%, 34.5%)
CIE-LABlab(63.59, -31.57, 53.70)
CIE-LCHlch(63.59, 62.29, 120.45°)
OKLaboklab(67.54% -0.0905 0.1209)
OKLCHoklch(67.54% 0.151 126.8)
XYZxyz(22.9773, 32.2944, 7.9280)
Luminance0.3230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA731 #5A31A7
analogous
#A79531 #7EA731 #43A731
triadic
#7EA731 #317EA7 #A7317E
tetradic
#7EA731 #31A795 #5A31A7 #A73143
square
#7EA731 #31A795 #5A31A7 #A73143
split-complementary
#7EA731 #3143A7 #9531A7
monochromatic
#374815 #5A7823 #7EA731 #9ECA4B #B8D87A

Accessibility & contrast

On white

2.82
#7EA731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#7EA731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA731
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA731#FFFFFF#000000##000000
##7EA7311.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1E
Deuteranopia (green-blind)
#AA993B
Tritanopia (blue-blind)
#839F90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea731;
/* rgb */ color: rgb(126, 167, 49);
/* oklch */ color: oklch(67.5% 0.151 126.8);
Tailwind
colors: {
  custom: {
    50: '#a7c170',
    500: '#7ea731',
    950: '#000000',
  },
}
SCSS
$custom: #7ea731;
$custom-light: #a7c170;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea731",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 80.847,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67536,
    "c": 0.15102,
    "h": 126.8
  },
  "luminance": 0.32295
}

Semantic roles & 50–950 ramp

primary
#7EA731
secondary
#8E73C1
accent
#4ADE7D
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA731

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

Preview Lab → · Contrast checker → · Palette generator →

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