#7EAD2C#7EAD2C

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

Color values

HEX#7EAD2C
RGBrgb(126, 173, 44)
HSLhsl(82, 59%, 43%)
HSVhsv(82, 75%, 68%)
CMYKcmyk(27.2%, 0%, 74.6%, 32.2%)
CIE-LABlab(65.36, -34.65, 57.29)
CIE-LCHlch(65.36, 66.96, 121.17°)
OKLaboklab(68.97% -0.0994 0.1276)
OKLCHoklch(68.97% 0.162 127.9)
XYZxyz(24.0024, 34.5041, 7.7777)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAD2C #5B2CAD
analogous
#AD9B2C #7EAD2C #3EAD2C
triadic
#7EAD2C #2C7EAD #AD2C7E
tetradic
#7EAD2C #2CAD9B #5B2CAD #AD2C3E
square
#7EAD2C #2CAD9B #5B2CAD #AD2C3E
split-complementary
#7EAD2C #2C3EAD #9B2CAD
monochromatic
#374B13 #5A7C20 #7EAD2C #9ED046 #B7DC77

Accessibility & contrast

On white

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

On black

7.90
#7EAD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAD2C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAD2C#FFFFFF#000000##000000
##7EAD2C1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A111
Deuteranopia (green-blind)
#AF9E38
Tritanopia (blue-blind)
#83A594
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7ead2c;
/* rgb */ color: rgb(126, 173, 44);
/* oklch */ color: oklch(69.0% 0.162 127.9);
Tailwind
colors: {
  custom: {
    50: '#a7c56f',
    500: '#7ead2c',
    950: '#000000',
  },
}
SCSS
$custom: #7ead2c;
$custom-light: #a7c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ead2c",
  "rgb": {
    "r": 126,
    "g": 173,
    "b": 44
  },
  "hsl": {
    "h": 81.86,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68966,
    "c": 0.16175,
    "h": 127.9
  },
  "luminance": 0.34505
}

Semantic roles & 50–950 ramp

primary
#7EAD2C
secondary
#8F71C4
accent
#45E37F
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EAD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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