#7FC956#7FC956

#7FC956 is a light, vivid yellow-green. Relative luminance 0.470; OKLCH L 76.3% C 0.167 H 135.8°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7FC956
RGBrgb(127, 201, 86)
HSLhsl(99, 52%, 56%)
HSVhsv(99, 57%, 79%)
CMYKcmyk(36.8%, 0%, 57.2%, 21.2%)
CIE-LABlab(74.16, -43.28, 49.44)
CIE-LCHlch(74.16, 65.71, 131.20°)
OKLaboklab(76.25% -0.1197 0.1163)
OKLCHoklch(76.25% 0.167 135.8)
XYZxyz(31.3180, 46.9557, 16.2155)
Luminance0.4696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC956 #A056C9
analogous
#B9C956 #7FC956 #56C967
triadic
#7FC956 #567FC9 #C9567F
tetradic
#7FC956 #56B9C9 #A056C9 #C96756
square
#7FC956 #56B9C9 #A056C9 #C96756
split-complementary
#7FC956 #6756C9 #C956B9
monochromatic
#467D28 #60AB37 #7FC956 #A2D884 #C5E7B3

Accessibility & contrast

On white

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

On black

10.39
#7FC956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC956
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC956#FFFFFF#000000##000000
##7FC9561.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA4A
Deuteranopia (green-blind)
#C5B45E
Tritanopia (blue-blind)
#7DC2B0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7fc956;
/* rgb */ color: rgb(127, 201, 86);
/* oklch */ color: oklch(76.3% 0.167 135.8);
Tailwind
colors: {
  custom: {
    50: '#a8da89',
    500: '#7fc956',
    950: '#000000',
  },
}
SCSS
$custom: #7fc956;
$custom-light: #a8da89;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc956",
  "rgb": {
    "r": 127,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 98.609,
    "s": 51.57,
    "l": 56.275
  },
  "oklch": {
    "l": 0.76254,
    "c": 0.16688,
    "h": 135.8
  },
  "luminance": 0.46957
}

Semantic roles & 50–950 ramp

primary
#7FC956
secondary
#C4A6D5
accent
#4DDBA8
background
#FAFDF8
surface
#F4FAF0
border
#CED3CB
text
#10150C
muted
#7F837D

Preview Lab

Preview with #7FC956

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

Preview Lab → · Contrast checker → · Palette generator →

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