#7FB248#7FB248

#7FB248 is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.5% C 0.147 H 130.9°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7FB248
RGBrgb(127, 178, 72)
HSLhsl(89, 42%, 49%)
HSVhsv(89, 60%, 70%)
CMYKcmyk(28.7%, 0%, 59.6%, 30.2%)
CIE-LABlab(67.14, -34.45, 47.79)
CIE-LCHlch(67.14, 58.92, 125.79°)
OKLaboklab(70.5% -0.0965 0.1114)
OKLCHoklch(70.5% 0.147 130.9)
XYZxyz(25.8422, 36.8200, 11.8750)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB248 #7B48B2
analogous
#B2B048 #7FB248 #4AB248
triadic
#7FB248 #487FB2 #B2487F
tetradic
#7FB248 #48B2B0 #7B48B2 #B2484A
square
#7FB248 #48B2B0 #7B48B2 #B2484A
split-complementary
#7FB248 #484AB2 #B048B2
monochromatic
#415B25 #608636 #7FB248 #9DC671 #BBD79D

Accessibility & contrast

On white

2.51
#7FB248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#7FB248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB248
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB248#FFFFFF#000000##000000
##7FB2481.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fb248;
/* rgb */ color: rgb(127, 178, 72);
/* oklch */ color: oklch(70.5% 0.147 130.9);
Tailwind
colors: {
  custom: {
    50: '#a7c97f',
    500: '#7fb248',
    950: '#000000',
  },
}
SCSS
$custom: #7fb248;
$custom-light: #a7c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb248",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 88.868,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70498,
    "c": 0.14737,
    "h": 130.9
  },
  "luminance": 0.36821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FB248

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

Preview Lab → · Contrast checker → · Palette generator →

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