#7EA626#7EA626

#7EA626 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.2% C 0.156 H 126.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7EA626
RGBrgb(126, 166, 38)
HSLhsl(79, 63%, 40%)
HSVhsv(79, 77%, 65%)
CMYKcmyk(24.1%, 0%, 77.1%, 34.9%)
CIE-LABlab(63.22, -31.73, 57.27)
CIE-LCHlch(63.22, 65.47, 118.99°)
OKLaboklab(67.22% -0.0919 0.1266)
OKLCHoklch(67.22% 0.156 126)
XYZxyz(22.5904, 31.8476, 6.7904)
Luminance0.3185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA626 #4E26A6
analogous
#A68E26 #7EA626 #3EA626
triadic
#7EA626 #267EA6 #A6267E
tetradic
#7EA626 #26A68E #4E26A6 #A6263E
square
#7EA626 #26A68E #4E26A6 #A6263E
split-complementary
#7EA626 #263EA6 #8E26A6
monochromatic
#32420F #58741B #7EA626 #A1D138 #B9DD6A

Accessibility & contrast

On white

2.85
#7EA626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#7EA626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA626
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA626#FFFFFF#000000##000000
##7EA6261.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B04
Deuteranopia (green-blind)
#AA9833
Tritanopia (blue-blind)
#849E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ea626;
/* rgb */ color: rgb(126, 166, 38);
/* oklch */ color: oklch(67.2% 0.156 126.0);
Tailwind
colors: {
  custom: {
    50: '#a7c06b',
    500: '#7ea626',
    950: '#000000',
  },
}
SCSS
$custom: #7ea626;
$custom-light: #a7c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea626",
  "rgb": {
    "r": 126,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 78.75,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.67215,
    "c": 0.15644,
    "h": 126
  },
  "luminance": 0.31848
}

Semantic roles & 50–950 ramp

primary
#7EA626
secondary
#8265C3
accent
#42E675
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA626

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

Preview Lab → · Contrast checker → · Palette generator →

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