#7FC151#7FC151

#7FC151 is a light, vivid yellow-green. Relative luminance 0.432; OKLCH L 74.2% C 0.160 H 134.3°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7FC151
RGBrgb(127, 193, 81)
HSLhsl(95, 47%, 54%)
HSVhsv(95, 58%, 76%)
CMYKcmyk(34.2%, 0%, 58%, 24.3%)
CIE-LABlab(71.72, -40.32, 48.91)
CIE-LCHlch(71.72, 63.38, 129.50°)
OKLaboklab(74.25% -0.1119 0.1147)
OKLCHoklch(74.25% 0.16 134.3)
XYZxyz(29.3070, 43.2448, 14.5859)
Luminance0.4325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC151 #9351C1
analogous
#B7C151 #7FC151 #51C15B
triadic
#7FC151 #517FC1 #C1517F
tetradic
#7FC151 #51B7C1 #9351C1 #C15B51
square
#7FC151 #51B7C1 #9351C1 #C15B51
split-complementary
#7FC151 #5B51C1 #C151B7
monochromatic
#457028 #619D38 #7FC151 #A0D17E #C1E1AB

Accessibility & contrast

On white

2.18
#7FC151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#7FC151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC151
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC151#FFFFFF#000000##000000
##7FC1511.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B345
Deuteranopia (green-blind)
#BFAE59
Tritanopia (blue-blind)
#7FBAA9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #7fc151;
/* rgb */ color: rgb(127, 193, 81);
/* oklch */ color: oklch(74.2% 0.160 134.3);
Tailwind
colors: {
  custom: {
    50: '#a8d485',
    500: '#7fc151',
    950: '#000000',
  },
}
SCSS
$custom: #7fc151;
$custom-light: #a8d485;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc151",
  "rgb": {
    "r": 127,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 95.357,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.74249,
    "c": 0.16024,
    "h": 134.3
  },
  "luminance": 0.43246
}

Semantic roles & 50–950 ramp

primary
#7FC151
secondary
#BB9FCF
accent
#51D7A0
background
#FAFDF8
surface
#F4FAEF
border
#CED3CA
text
#10140B
muted
#7F837C

Preview Lab

Preview with #7FC151

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

Preview Lab → · Contrast checker → · Palette generator →

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