#7FCA51#7FCA51

#7FCA51 is a light, vivid yellow-green. Relative luminance 0.473; OKLCH L 76.4% C 0.172 H 135.3°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#7FCA51
RGBrgb(127, 202, 81)
HSLhsl(97, 53%, 55%)
HSVhsv(97, 60%, 79%)
CMYKcmyk(37.1%, 0%, 59.9%, 20.8%)
CIE-LABlab(74.41, -44.21, 51.97)
CIE-LCHlch(74.41, 68.23, 130.39°)
OKLaboklab(76.44% -0.1226 0.1212)
OKLCHoklch(76.44% 0.172 135.3)
XYZxyz(31.3574, 47.3457, 15.2694)
Luminance0.4735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FCA51 #9C51CA
analogous
#BBCA51 #7FCA51 #51CA5F
triadic
#7FCA51 #517FCA #CA517F
tetradic
#7FCA51 #51BBCA #9C51CA #CA5F51
square
#7FCA51 #51BBCA #9C51CA #CA5F51
split-complementary
#7FCA51 #5F51CA #CA51BB
monochromatic
#467B25 #61AA34 #7FCA51 #A2D880 #C4E7AF

Accessibility & contrast

On white

2.01
#7FCA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#7FCA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FCA51
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FCA51#FFFFFF#000000##000000
##7FCA511.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB44
Deuteranopia (green-blind)
#C6B55A
Tritanopia (blue-blind)
#7DC3B0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #7fca51;
/* rgb */ color: rgb(127, 202, 81);
/* oklch */ color: oklch(76.4% 0.172 135.3);
Tailwind
colors: {
  custom: {
    50: '#a9da86',
    500: '#7fca51',
    950: '#000000',
  },
}
SCSS
$custom: #7fca51;
$custom-light: #a9da86;
$custom-dark: #000000;
JSON
{
  "hex": "#7fca51",
  "rgb": {
    "r": 127,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 97.19,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.76441,
    "c": 0.17242,
    "h": 135.3
  },
  "luminance": 0.47347
}

Semantic roles & 50–950 ramp

primary
#7FCA51
secondary
#C1A2D5
accent
#4BDDA5
background
#FAFDF8
surface
#F4FBF0
border
#CED4CB
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7FCA51

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

Preview Lab → · Contrast checker → · Palette generator →

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