#7EAF2A#7EAF2A

#7EAF2A is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.4% C 0.165 H 128.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7EAF2A
RGBrgb(126, 175, 42)
HSLhsl(82, 61%, 43%)
HSVhsv(82, 76%, 69%)
CMYKcmyk(28%, 0%, 76%, 31.4%)
CIE-LABlab(65.95, -35.67, 58.54)
CIE-LCHlch(65.95, 68.56, 121.36°)
OKLaboklab(69.44% -0.1023 0.13)
OKLCHoklch(69.44% 0.165 128.2)
XYZxyz(24.3521, 35.2621, 7.7133)
Luminance0.3526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF2A #5B2AAF
analogous
#AF9D2A #7EAF2A #3CAF2A
triadic
#7EAF2A #2A7EAF #AF2A7E
tetradic
#7EAF2A #2AAF9D #5B2AAF #AF2A3C
square
#7EAF2A #2AAF9D #5B2AAF #AF2A3C
split-complementary
#7EAF2A #2A3CAF #9D2AAF
monochromatic
#374C12 #5A7E1E #7EAF2A #9ED244 #B7DE75

Accessibility & contrast

On white

2.61
#7EAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#7EAF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAF2A
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAF2A#FFFFFF#000000##000000
##7EAF2A1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A20A
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#82A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7eaf2a;
/* rgb */ color: rgb(126, 175, 42);
/* oklch */ color: oklch(69.4% 0.165 128.2);
Tailwind
colors: {
  custom: {
    50: '#a8c76e',
    500: '#7eaf2a',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf2a;
$custom-light: #a8c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf2a",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 82.105,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69443,
    "c": 0.16539,
    "h": 128.2
  },
  "luminance": 0.35263
}

Semantic roles & 50–950 ramp

primary
#7EAF2A
secondary
#8F6FC6
accent
#43E47F
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EAF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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