#7EA721#7EA721

#7EA721 is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.4% C 0.160 H 126.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7EA721
RGBrgb(126, 167, 33)
HSLhsl(78, 67%, 39%)
HSVhsv(78, 80%, 65%)
CMYKcmyk(24.6%, 0%, 80.2%, 34.5%)
CIE-LABlab(63.49, -32.44, 59.07)
CIE-LCHlch(63.49, 67.39, 118.77°)
OKLaboklab(67.43% -0.0941 0.1296)
OKLCHoklch(67.43% 0.16 126)
XYZxyz(22.6976, 32.1825, 6.4546)
Luminance0.3218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA721 #4A21A7
analogous
#A78D21 #7EA721 #3BA721
triadic
#7EA721 #217EA7 #A7217E
tetradic
#7EA721 #21A78D #4A21A7 #A7213B
square
#7EA721 #21A78D #4A21A7 #A7213B
split-complementary
#7EA721 #213BA7 #8D21A7
monochromatic
#31410D #577417 #7EA721 #A3D62F #BAE062

Accessibility & contrast

On white

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

On black

7.44
#7EA721 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA721
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA721#FFFFFF#000000##000000
##7EA7211.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AB992F
Tritanopia (blue-blind)
#849F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea721;
/* rgb */ color: rgb(126, 167, 33);
/* oklch */ color: oklch(67.4% 0.160 126.0);
Tailwind
colors: {
  custom: {
    50: '#a7c169',
    500: '#7ea721',
    950: '#000000',
  },
}
SCSS
$custom: #7ea721;
$custom-light: #a7c169;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea721",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 33
  },
  "hsl": {
    "h": 78.358,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67432,
    "c": 0.1602,
    "h": 126
  },
  "luminance": 0.32183
}

Semantic roles & 50–950 ramp

primary
#7EA721
secondary
#7E5FC5
accent
#3EEA73
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA721

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

Preview Lab → · Contrast checker → · Palette generator →

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