#7EA62B#7EA62B

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

Color values

HEX#7EA62B
RGBrgb(126, 166, 43)
HSLhsl(80, 59%, 41%)
HSVhsv(80, 74%, 65%)
CMYKcmyk(24.1%, 0%, 74.1%, 34.9%)
CIE-LABlab(63.25, -31.46, 55.59)
CIE-LCHlch(63.25, 63.88, 119.51°)
OKLaboklab(67.25% -0.0907 0.1239)
OKLCHoklch(67.25% 0.154 126.2)
XYZxyz(22.6766, 31.8821, 7.2442)
Luminance0.3188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA62B #532BA6
analogous
#A6902B #7EA62B #40A62B
triadic
#7EA62B #2B7EA6 #A62B7E
tetradic
#7EA62B #2BA690 #532BA6 #A62B40
square
#7EA62B #2BA690 #532BA6 #A62B40
split-complementary
#7EA62B #2B40A6 #902BA6
monochromatic
#344512 #59751E #7EA62B #A0CE41 #B8DA71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA62B#FFFFFF#000000##000000
##7EA62B1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B12
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#839E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ea62b;
/* rgb */ color: rgb(126, 166, 43);
/* oklch */ color: oklch(67.2% 0.154 126.2);
Tailwind
colors: {
  custom: {
    50: '#a7c06d',
    500: '#7ea62b',
    950: '#000000',
  },
}
SCSS
$custom: #7ea62b;
$custom-light: #a7c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea62b",
  "rgb": {
    "r": 126,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 79.512,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67247,
    "c": 0.15358,
    "h": 126.2
  },
  "luminance": 0.31882
}

Semantic roles & 50–950 ramp

primary
#7EA62B
secondary
#876BC1
accent
#46E279
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA62B

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

Preview Lab → · Contrast checker → · Palette generator →

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