#7EA631#7EA631

#7EA631 is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.3% C 0.150 H 126.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7EA631
RGBrgb(126, 166, 49)
HSLhsl(81, 54%, 42%)
HSVhsv(81, 70%, 65%)
CMYKcmyk(24.1%, 0%, 70.5%, 34.9%)
CIE-LABlab(63.28, -31.09, 53.40)
CIE-LCHlch(63.28, 61.79, 120.21°)
OKLaboklab(67.29% -0.0892 0.1203)
OKLCHoklch(67.29% 0.15 126.6)
XYZxyz(22.7949, 31.9294, 7.8672)
Luminance0.3193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA631 #5931A6
analogous
#A69431 #7EA631 #43A631
triadic
#7EA631 #317EA6 #A6317E
tetradic
#7EA631 #31A694 #5931A6 #A63143
square
#7EA631 #31A694 #5931A6 #A63143
split-complementary
#7EA631 #3143A6 #9431A6
monochromatic
#364715 #5A7723 #7EA631 #9ECA4A #B8D87A

Accessibility & contrast

On white

2.84
#7EA631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#7EA631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA631
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA631#FFFFFF#000000##000000
##7EA6311.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1E
Deuteranopia (green-blind)
#A9993B
Tritanopia (blue-blind)
#839E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ea631;
/* rgb */ color: rgb(126, 166, 49);
/* oklch */ color: oklch(67.3% 0.150 126.6);
Tailwind
colors: {
  custom: {
    50: '#a7c070',
    500: '#7ea631',
    950: '#000000',
  },
}
SCSS
$custom: #7ea631;
$custom-light: #a7c070;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea631",
  "rgb": {
    "r": 126,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 80.513,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67292,
    "c": 0.14973,
    "h": 126.6
  },
  "luminance": 0.3193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EA631

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

Preview Lab → · Contrast checker → · Palette generator →

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