#7EB948#7EB948

#7EB948 is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.1% C 0.157 H 132.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7EB948
RGBrgb(126, 185, 72)
HSLhsl(91, 45%, 50%)
HSVhsv(91, 61%, 73%)
CMYKcmyk(31.9%, 0%, 61.1%, 27.5%)
CIE-LABlab(69.18, -37.99, 50.07)
CIE-LCHlch(69.18, 62.85, 127.19°)
OKLaboklab(72.14% -0.1062 0.1162)
OKLCHoklch(72.14% 0.157 132.4)
XYZxyz(27.1225, 39.6005, 12.3443)
Luminance0.3960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB948 #8348B9
analogous
#B7B948 #7EB948 #48B94A
triadic
#7EB948 #487EB9 #B9487E
tetradic
#7EB948 #48B7B9 #8348B9 #B94A48
square
#7EB948 #48B7B9 #8348B9 #B94A48
split-complementary
#7EB948 #4A48B9 #B948B7
monochromatic
#426125 #608E36 #7EB948 #9DCA74 #BCDBA1

Accessibility & contrast

On white

2.35
#7EB948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#7EB948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB948
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB948#FFFFFF#000000##000000
##7EB9481.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3B
Deuteranopia (green-blind)
#B8A750
Tritanopia (blue-blind)
#7FB2A1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7eb948;
/* rgb */ color: rgb(126, 185, 72);
/* oklch */ color: oklch(72.1% 0.157 132.4);
Tailwind
colors: {
  custom: {
    50: '#a7ce7f',
    500: '#7eb948',
    950: '#000000',
  },
}
SCSS
$custom: #7eb948;
$custom-light: #a7ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb948",
  "rgb": {
    "r": 126,
    "g": 185,
    "b": 72
  },
  "hsl": {
    "h": 91.327,
    "s": 44.664,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72142,
    "c": 0.15744,
    "h": 132.4
  },
  "luminance": 0.39601
}

Semantic roles & 50–950 ramp

primary
#7EB948
secondary
#B095C8
accent
#53D497
background
#FAFCF8
surface
#F4F9EF
border
#CED2CA
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7EB948

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

Preview Lab → · Contrast checker → · Palette generator →

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