#7EA81E#7EA81E

#7EA81E is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 67.7% C 0.163 H 126.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7EA81E
RGBrgb(126, 168, 30)
HSLhsl(78, 70%, 39%)
HSVhsv(78, 82%, 66%)
CMYKcmyk(25%, 0%, 82.1%, 34.1%)
CIE-LABlab(63.78, -33.03, 60.18)
CIE-LCHlch(63.78, 68.65, 118.76°)
OKLaboklab(67.66% -0.0959 0.1315)
OKLCHoklch(67.66% 0.163 126.1)
XYZxyz(22.8413, 32.5342, 6.3044)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA81E #481EA8
analogous
#A88D1E #7EA81E #39A81E
triadic
#7EA81E #1E7EA8 #A81E7E
tetradic
#7EA81E #1EA88D #481EA8 #A81E39
square
#7EA81E #1EA88D #481EA8 #A81E39
split-complementary
#7EA81E #1E39A8 #8D1EA8
monochromatic
#30400B #577415 #7EA81E #A4D92A #BAE25E

Accessibility & contrast

On white

2.80
#7EA81E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#7EA81E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA81E
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA81E#FFFFFF#000000##000000
##7EA81E1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AC9A2E
Tritanopia (blue-blind)
#84A08F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea81e;
/* rgb */ color: rgb(126, 168, 30);
/* oklch */ color: oklch(67.7% 0.163 126.1);
Tailwind
colors: {
  custom: {
    50: '#a8c268',
    500: '#7ea81e',
    950: '#000000',
  },
}
SCSS
$custom: #7ea81e;
$custom-light: #a8c268;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea81e",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 78.261,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67662,
    "c": 0.16276,
    "h": 126.1
  },
  "luminance": 0.32535
}

Semantic roles & 50–950 ramp

primary
#7EA81E
secondary
#7C5BC7
accent
#3BED71
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA81E

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

Preview Lab → · Contrast checker → · Palette generator →

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