#7EB248#7EB248

#7EB248 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.4% C 0.148 H 131.2°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7EB248
RGBrgb(126, 178, 72)
HSLhsl(89, 42%, 49%)
HSVhsv(89, 60%, 70%)
CMYKcmyk(29.2%, 0%, 59.6%, 30.2%)
CIE-LABlab(67.08, -34.82, 47.71)
CIE-LCHlch(67.08, 59.07, 126.13°)
OKLaboklab(70.44% -0.0975 0.1112)
OKLCHoklch(70.44% 0.148 131.2)
XYZxyz(25.6940, 36.7435, 11.8681)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB248 #7C48B2
analogous
#B2B148 #7EB248 #49B248
triadic
#7EB248 #487EB2 #B2487E
tetradic
#7EB248 #48B2B1 #7C48B2 #B24849
square
#7EB248 #48B2B1 #7C48B2 #B24849
split-complementary
#7EB248 #4849B2 #B148B2
monochromatic
#405B25 #5F8636 #7EB248 #9CC671 #BBD79D

Accessibility & contrast

On white

2.52
#7EB248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#7EB248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB248
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB248#FFFFFF#000000##000000
##7EB2481.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A63D
Deuteranopia (green-blind)
#B2A250
Tritanopia (blue-blind)
#80AB9B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7eb248;
/* rgb */ color: rgb(126, 178, 72);
/* oklch */ color: oklch(70.4% 0.148 131.2);
Tailwind
colors: {
  custom: {
    50: '#a6c97f',
    500: '#7eb248',
    950: '#000000',
  },
}
SCSS
$custom: #7eb248;
$custom-light: #a6c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb248",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 89.434,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70436,
    "c": 0.14789,
    "h": 131.2
  },
  "luminance": 0.36744
}

Semantic roles & 50–950 ramp

primary
#7EB248
secondary
#AA92C4
accent
#56D293
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7EB248

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

Preview Lab → · Contrast checker → · Palette generator →

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