#7EA72D#7EA72D

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

Color values

HEX#7EA72D
RGBrgb(126, 167, 45)
HSLhsl(80, 58%, 42%)
HSVhsv(80, 73%, 65%)
CMYKcmyk(24.6%, 0%, 73.1%, 34.5%)
CIE-LABlab(63.56, -31.82, 55.18)
CIE-LCHlch(63.56, 63.69, 119.97°)
OKLaboklab(67.51% -0.0915 0.1234)
OKLCHoklch(67.51% 0.154 126.6)
XYZxyz(22.8966, 32.2621, 7.5030)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA72D #562DA7
analogous
#A7932D #7EA72D #41A72D
triadic
#7EA72D #2D7EA7 #A72D7E
tetradic
#7EA72D #2DA793 #562DA7 #A72D41
square
#7EA72D #2DA793 #562DA7 #A72D41
split-complementary
#7EA72D #2D41A7 #932DA7
monochromatic
#354713 #5A7720 #7EA72D #9FCD44 #B8DA75

Accessibility & contrast

On white

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

On black

7.45
#7EA72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA72D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA72D#FFFFFF#000000##000000
##7EA72D1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C16
Deuteranopia (green-blind)
#AA9938
Tritanopia (blue-blind)
#839F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea72d;
/* rgb */ color: rgb(126, 167, 45);
/* oklch */ color: oklch(67.5% 0.154 126.6);
Tailwind
colors: {
  custom: {
    50: '#a7c16e',
    500: '#7ea72d',
    950: '#000000',
  },
}
SCSS
$custom: #7ea72d;
$custom-light: #a7c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea72d",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 80.164,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67506,
    "c": 0.15361,
    "h": 126.6
  },
  "luminance": 0.32263
}

Semantic roles & 50–950 ramp

primary
#7EA72D
secondary
#8A6EC1
accent
#47E17B
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA72D

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

Preview Lab → · Contrast checker → · Palette generator →

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