#7EA42B#7EA42B

#7EA42B is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.8% C 0.151 H 125.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7EA42B
RGBrgb(126, 164, 43)
HSLhsl(79, 58%, 41%)
HSVhsv(79, 74%, 64%)
CMYKcmyk(23.2%, 0%, 73.8%, 35.7%)
CIE-LABlab(62.64, -30.52, 55.00)
CIE-LCHlch(62.64, 62.90, 119.03°)
OKLaboklab(66.76% -0.0882 0.1227)
OKLCHoklch(66.76% 0.151 125.7)
XYZxyz(22.3158, 31.1606, 7.1239)
Luminance0.3116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA42B #512BA4
analogous
#A48D2B #7EA42B #41A42B
triadic
#7EA42B #2B7EA4 #A42B7E
tetradic
#7EA42B #2BA48D #512BA4 #A42B41
square
#7EA42B #2BA48D #512BA4 #A42B41
split-complementary
#7EA42B #2B41A4 #8D2BA4
monochromatic
#334312 #59741E #7EA42B #A0CD3F #B8D970

Accessibility & contrast

On white

2.90
#7EA42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#7EA42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA42B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA42B#FFFFFF#000000##000000
##7EA42B1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9913
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#849C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ea42b;
/* rgb */ color: rgb(126, 164, 43);
/* oklch */ color: oklch(66.8% 0.151 125.7);
Tailwind
colors: {
  custom: {
    50: '#a7bf6d',
    500: '#7ea42b',
    950: '#000000',
  },
}
SCSS
$custom: #7ea42b;
$custom-light: #a7bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea42b",
  "rgb": {
    "r": 126,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 78.843,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66759,
    "c": 0.15107,
    "h": 125.7
  },
  "luminance": 0.31161
}

Semantic roles & 50–950 ramp

primary
#7EA42B
secondary
#856AC1
accent
#46E277
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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