#7EAC30#7EAC30

#7EAC30 is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.7% C 0.158 H 127.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7EAC30
RGBrgb(126, 172, 48)
HSLhsl(82, 56%, 43%)
HSVhsv(82, 72%, 67%)
CMYKcmyk(26.7%, 0%, 72.1%, 32.5%)
CIE-LABlab(65.08, -33.95, 55.58)
CIE-LCHlch(65.08, 65.13, 121.42°)
OKLaboklab(68.75% -0.0971 0.1247)
OKLCHoklch(68.75% 0.158 127.9)
XYZxyz(23.8902, 34.1535, 8.1294)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAC30 #5E30AC
analogous
#AC9C30 #7EAC30 #40AC30
triadic
#7EAC30 #307EAC #AC307E
tetradic
#7EAC30 #30AC9C #5E30AC #AC3040
square
#7EAC30 #30AC9C #5E30AC #AC3040
split-complementary
#7EAC30 #3040AC #9C30AC
monochromatic
#384C15 #5B7C23 #7EAC30 #9DCD4C #B7DA7C

Accessibility & contrast

On white

2.68
#7EAC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#7EAC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAC30
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAC30#FFFFFF#000000##000000
##7EAC301.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01A
Deuteranopia (green-blind)
#AE9D3B
Tritanopia (blue-blind)
#82A494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7eac30;
/* rgb */ color: rgb(126, 172, 48);
/* oklch */ color: oklch(68.7% 0.158 127.9);
Tailwind
colors: {
  custom: {
    50: '#a7c570',
    500: '#7eac30',
    950: '#000000',
  },
}
SCSS
$custom: #7eac30;
$custom-light: #a7c570;
$custom-dark: #000000;
JSON
{
  "hex": "#7eac30",
  "rgb": {
    "r": 126,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 82.258,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68749,
    "c": 0.15806,
    "h": 127.9
  },
  "luminance": 0.34154
}

Semantic roles & 50–950 ramp

primary
#7EAC30
secondary
#9275C3
accent
#48E080
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EAC30

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

Preview Lab → · Contrast checker → · Palette generator →

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