#7FCC52#7FCC52

#7FCC52 is a light, vivid yellow-green. Relative luminance 0.483; OKLCH L 76.9% C 0.174 H 135.6°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#7FCC52
RGBrgb(127, 204, 82)
HSLhsl(98, 54%, 56%)
HSVhsv(98, 60%, 80%)
CMYKcmyk(37.7%, 0%, 59.8%, 20%)
CIE-LABlab(75.02, -44.96, 52.22)
CIE-LCHlch(75.02, 68.91, 130.73°)
OKLaboklab(76.94% -0.1246 0.1219)
OKLCHoklch(76.94% 0.174 135.6)
XYZxyz(31.8675, 48.3054, 15.6258)
Luminance0.4831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FCC52 #9F52CC
analogous
#BCCC52 #7FCC52 #52CC62
triadic
#7FCC52 #527FCC #CC527F
tetradic
#7FCC52 #52BCCC #9F52CC #CC6252
square
#7FCC52 #52BCCC #9F52CC #CC6252
split-complementary
#7FCC52 #6252CC #CC52BC
monochromatic
#467E25 #60AE33 #7FCC52 #A2DA81 #C5E8B1

Accessibility & contrast

On white

1.97
#7FCC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#7FCC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FCC52
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FCC52#FFFFFF#000000##000000
##7FCC521.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD45
Deuteranopia (green-blind)
#C8B65B
Tritanopia (blue-blind)
#7DC5B2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #7fcc52;
/* rgb */ color: rgb(127, 204, 82);
/* oklch */ color: oklch(76.9% 0.174 135.6);
Tailwind
colors: {
  custom: {
    50: '#a9dc87',
    500: '#7fcc52',
    950: '#000000',
  },
}
SCSS
$custom: #7fcc52;
$custom-light: #a9dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#7fcc52",
  "rgb": {
    "r": 127,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 97.869,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.76939,
    "c": 0.17427,
    "h": 135.6
  },
  "luminance": 0.48307
}

Semantic roles & 50–950 ramp

primary
#7FCC52
secondary
#C4A4D6
accent
#4ADEA7
background
#FAFDF8
surface
#F4FBF0
border
#CED4CB
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7FCC52

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

Preview Lab → · Contrast checker → · Palette generator →

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