#7EAB30#7EAB30

#7EAB30 is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.5% C 0.157 H 127.7°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7EAB30
RGBrgb(126, 171, 48)
HSLhsl(82, 56%, 43%)
HSVhsv(82, 72%, 67%)
CMYKcmyk(26.3%, 0%, 71.9%, 32.9%)
CIE-LABlab(64.78, -33.49, 55.28)
CIE-LCHlch(64.78, 64.64, 121.21°)
OKLaboklab(68.51% -0.0959 0.1241)
OKLCHoklch(68.51% 0.157 127.7)
XYZxyz(23.7006, 33.7743, 8.0662)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAB30 #5D30AB
analogous
#AB9A30 #7EAB30 #41AB30
triadic
#7EAB30 #307EAB #AB307E
tetradic
#7EAB30 #30AB9A #5D30AB #AB3041
square
#7EAB30 #30AB9A #5D30AB #AB3041
split-complementary
#7EAB30 #3041AB #9A30AB
monochromatic
#384B15 #5B7B23 #7EAB30 #9DCD4C #B7DA7B

Accessibility & contrast

On white

2.71
#7EAB30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#7EAB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAB30
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAB30#FFFFFF#000000##000000
##7EAB301.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1B
Deuteranopia (green-blind)
#AD9C3B
Tritanopia (blue-blind)
#83A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7eab30;
/* rgb */ color: rgb(126, 171, 48);
/* oklch */ color: oklch(68.5% 0.157 127.7);
Tailwind
colors: {
  custom: {
    50: '#a7c470',
    500: '#7eab30',
    950: '#000000',
  },
}
SCSS
$custom: #7eab30;
$custom-light: #a7c470;
$custom-dark: #000000;
JSON
{
  "hex": "#7eab30",
  "rgb": {
    "r": 126,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 81.951,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68505,
    "c": 0.15679,
    "h": 127.7
  },
  "luminance": 0.33775
}

Semantic roles & 50–950 ramp

primary
#7EAB30
secondary
#9174C3
accent
#48DF80
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EAB30

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

Preview Lab → · Contrast checker → · Palette generator →

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