#7EA72F#7EA72F

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

Color values

HEX#7EA72F
RGBrgb(126, 167, 47)
HSLhsl(81, 56%, 42%)
HSVhsv(81, 72%, 65%)
CMYKcmyk(24.6%, 0%, 71.9%, 34.5%)
CIE-LABlab(63.57, -31.69, 54.45)
CIE-LCHlch(63.57, 63.00, 120.20°)
OKLaboklab(67.52% -0.091 0.1222)
OKLCHoklch(67.52% 0.152 126.7)
XYZxyz(22.9361, 32.2779, 7.7106)
Luminance0.3228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA72F #582FA7
analogous
#A7942F #7EA72F #42A72F
triadic
#7EA72F #2F7EA7 #A72F7E
tetradic
#7EA72F #2FA794 #582FA7 #A72F42
square
#7EA72F #2FA794 #582FA7 #A72F42
split-complementary
#7EA72F #2F42A7 #942FA7
monochromatic
#364714 #5A7722 #7EA72F #9ECB48 #B8D978

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA72F#FFFFFF#000000##000000
##7EA72F1.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)
#B09C1A
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#839F90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea72f;
/* rgb */ color: rgb(126, 167, 47);
/* oklch */ color: oklch(67.5% 0.152 126.7);
Tailwind
colors: {
  custom: {
    50: '#a7c16f',
    500: '#7ea72f',
    950: '#000000',
  },
}
SCSS
$custom: #7ea72f;
$custom-light: #a7c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea72f",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 80.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6752,
    "c": 0.15234,
    "h": 126.7
  },
  "luminance": 0.32278
}

Semantic roles & 50–950 ramp

primary
#7EA72F
secondary
#8C71C1
accent
#48DF7C
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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