#7EAA2B#7EAA2B

#7EAA2B is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 68.2% C 0.159 H 127.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7EAA2B
RGBrgb(126, 170, 43)
HSLhsl(81, 60%, 42%)
HSVhsv(81, 75%, 67%)
CMYKcmyk(25.9%, 0%, 74.7%, 33.3%)
CIE-LABlab(64.45, -33.33, 56.76)
CIE-LCHlch(64.45, 65.82, 120.42°)
OKLaboklab(68.23% -0.0958 0.1264)
OKLCHoklch(68.23% 0.159 127.2)
XYZxyz(23.4150, 33.3590, 7.4903)
Luminance0.3336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAA2B #572BAA
analogous
#AA962B #7EAA2B #3FAA2B
triadic
#7EAA2B #2B7EAA #AA2B7E
tetradic
#7EAA2B #2BAA96 #572BAA #AA2B3F
square
#7EAA2B #2BAA96 #572BAA #AA2B3F
split-complementary
#7EAA2B #2B3FAA #962BAA
monochromatic
#364812 #5A791F #7EAA2B #9FCF43 #B8DC74

Accessibility & contrast

On white

2.74
#7EAA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#7EAA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAA2B
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAA2B#FFFFFF#000000##000000
##7EAA2B1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E10
Deuteranopia (green-blind)
#AD9B37
Tritanopia (blue-blind)
#83A292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7eaa2b;
/* rgb */ color: rgb(126, 170, 43);
/* oklch */ color: oklch(68.2% 0.159 127.2);
Tailwind
colors: {
  custom: {
    50: '#a7c36e',
    500: '#7eaa2b',
    950: '#000000',
  },
}
SCSS
$custom: #7eaa2b;
$custom-light: #a7c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaa2b",
  "rgb": {
    "r": 126,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 80.787,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68225,
    "c": 0.15859,
    "h": 127.2
  },
  "luminance": 0.33359
}

Semantic roles & 50–950 ramp

primary
#7EAA2B
secondary
#8B6EC3
accent
#45E37C
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EAA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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