#7FC952#7FC952

#7FC952 is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.2% C 0.170 H 135.3°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#7FC952
RGBrgb(127, 201, 82)
HSLhsl(97, 52%, 55%)
HSVhsv(97, 59%, 79%)
CMYKcmyk(36.8%, 0%, 59.2%, 21.2%)
CIE-LABlab(74.12, -43.68, 51.20)
CIE-LCHlch(74.12, 67.30, 130.47°)
OKLaboklab(76.21% -0.1211 0.1197)
OKLCHoklch(76.21% 0.17 135.3)
XYZxyz(31.1613, 46.8931, 15.3904)
Luminance0.4689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC952 #9C52C9
analogous
#BAC952 #7FC952 #52C960
triadic
#7FC952 #527FC9 #C9527F
tetradic
#7FC952 #52BAC9 #9C52C9 #C96052
square
#7FC952 #52BAC9 #9C52C9 #C96052
split-complementary
#7FC952 #6052C9 #C952BA
monochromatic
#467A26 #61A935 #7FC952 #A2D881 #C4E6AF

Accessibility & contrast

On white

2.02
#7FC952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#7FC952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC952
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC952#FFFFFF#000000##000000
##7FC9521.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA45
Deuteranopia (green-blind)
#C5B45B
Tritanopia (blue-blind)
#7DC2AF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7fc952;
/* rgb */ color: rgb(127, 201, 82);
/* oklch */ color: oklch(76.2% 0.170 135.3);
Tailwind
colors: {
  custom: {
    50: '#a8da87',
    500: '#7fc952',
    950: '#000000',
  },
}
SCSS
$custom: #7fc952;
$custom-light: #a8da87;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc952",
  "rgb": {
    "r": 127,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 97.311,
    "s": 52.423,
    "l": 55.49
  },
  "oklch": {
    "l": 0.76208,
    "c": 0.17026,
    "h": 135.3
  },
  "luminance": 0.46895
}

Semantic roles & 50–950 ramp

primary
#7FC952
secondary
#C1A3D4
accent
#4CDCA5
background
#FAFDF8
surface
#F4FAF0
border
#CED3CB
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7FC952

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

Preview Lab → · Contrast checker → · Palette generator →

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