#7EAD2F#7EAD2F

#7EAD2F is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 69.0% C 0.160 H 128.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7EAD2F
RGBrgb(126, 173, 47)
HSLhsl(82, 57%, 43%)
HSVhsv(82, 73%, 68%)
CMYKcmyk(27.2%, 0%, 72.8%, 32.2%)
CIE-LABlab(65.38, -34.48, 56.24)
CIE-LCHlch(65.38, 65.97, 121.51°)
OKLaboklab(68.99% -0.0986 0.1259)
OKLCHoklch(68.99% 0.16 128.1)
XYZxyz(24.0608, 34.5274, 8.0856)
Luminance0.3453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAD2F #5E2FAD
analogous
#AD9D2F #7EAD2F #3FAD2F
triadic
#7EAD2F #2F7EAD #AD2F7E
tetradic
#7EAD2F #2FAD9D #5E2FAD #AD2F3F
square
#7EAD2F #2FAD9D #5E2FAD #AD2F3F
split-complementary
#7EAD2F #2F3FAD #9D2FAD
monochromatic
#384D15 #5B7D22 #7EAD2F #9DCE4B #B7DB7B

Accessibility & contrast

On white

2.66
#7EAD2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#7EAD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAD2F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAD2F#FFFFFF#000000##000000
##7EAD2F1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A118
Deuteranopia (green-blind)
#AF9E3A
Tritanopia (blue-blind)
#82A595
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7ead2f;
/* rgb */ color: rgb(126, 173, 47);
/* oklch */ color: oklch(69.0% 0.160 128.1);
Tailwind
colors: {
  custom: {
    50: '#a7c570',
    500: '#7ead2f',
    950: '#000000',
  },
}
SCSS
$custom: #7ead2f;
$custom-light: #a7c570;
$custom-dark: #000000;
JSON
{
  "hex": "#7ead2f",
  "rgb": {
    "r": 126,
    "g": 173,
    "b": 47
  },
  "hsl": {
    "h": 82.381,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68987,
    "c": 0.15995,
    "h": 128.1
  },
  "luminance": 0.34528
}

Semantic roles & 50–950 ramp

primary
#7EAD2F
secondary
#9274C4
accent
#47E180
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EAD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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