#7EA62F#7EA62F

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

Color values

HEX#7EA62F
RGBrgb(126, 166, 47)
HSLhsl(80, 56%, 42%)
HSVhsv(80, 72%, 65%)
CMYKcmyk(24.1%, 0%, 71.7%, 34.9%)
CIE-LABlab(63.27, -31.22, 54.15)
CIE-LCHlch(63.27, 62.50, 119.97°)
OKLaboklab(67.28% -0.0897 0.1215)
OKLCHoklch(67.28% 0.151 126.4)
XYZxyz(22.7536, 31.9129, 7.6498)
Luminance0.3191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA62F #572FA6
analogous
#A6932F #7EA62F #43A62F
triadic
#7EA62F #2F7EA6 #A62F7E
tetradic
#7EA62F #2FA693 #572FA6 #A62F43
square
#7EA62F #2FA693 #572FA6 #A62F43
split-complementary
#7EA62F #2F43A6 #932FA6
monochromatic
#364714 #5A7621 #7EA62F #9FCB47 #B8D877

Accessibility & contrast

On white

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

On black

7.38
#7EA62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA62F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA62F#FFFFFF#000000##000000
##7EA62F1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ea62f;
/* rgb */ color: rgb(126, 166, 47);
/* oklch */ color: oklch(67.3% 0.151 126.4);
Tailwind
colors: {
  custom: {
    50: '#a7c06f',
    500: '#7ea62f',
    950: '#000000',
  },
}
SCSS
$custom: #7ea62f;
$custom-light: #a7c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea62f",
  "rgb": {
    "r": 126,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 80.168,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67276,
    "c": 0.15107,
    "h": 126.4
  },
  "luminance": 0.31913
}

Semantic roles & 50–950 ramp

primary
#7EA62F
secondary
#8B70C1
accent
#49DF7B
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA62F

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

Preview Lab → · Contrast checker → · Palette generator →

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