#7FCF40#7FCF40

#7FCF40 is a light, vivid yellow-green. Relative luminance 0.495; OKLCH L 77.5% C 0.191 H 134.2°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#7FCF40
RGBrgb(127, 207, 64)
HSLhsl(94, 60%, 53%)
HSVhsv(94, 69%, 81%)
CMYKcmyk(38.6%, 0%, 69.1%, 18.8%)
CIE-LABlab(75.77, -47.74, 60.45)
CIE-LCHlch(75.77, 77.03, 128.30°)
OKLaboklab(77.5% -0.1335 0.1371)
OKLCHoklch(77.5% 0.191 134.2)
XYZxyz(31.9900, 49.5063, 12.7196)
Luminance0.4951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FCF40 #9040CF
analogous
#C7CF40 #7FCF40 #40CF48
triadic
#7FCF40 #407FCF #CF407F
tetradic
#7FCF40 #40C7CF #9040CF #CF4840
square
#7FCF40 #40C7CF #9040CF #CF4840
split-complementary
#7FCF40 #4840CF #CF40C7
monochromatic
#45771E #61A82A #7FCF40 #A0DB71 #C1E8A2

Accessibility & contrast

On white

1.93
#7FCF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#7FCF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FCF40
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FCF40#FFFFFF#000000##000000
##7FCF401.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2A
Deuteranopia (green-blind)
#CCB84D
Tritanopia (blue-blind)
#7EC7B2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #7fcf40;
/* rgb */ color: rgb(127, 207, 64);
/* oklch */ color: oklch(77.5% 0.191 134.2);
Tailwind
colors: {
  custom: {
    50: '#aade7d',
    500: '#7fcf40',
    950: '#000000',
  },
}
SCSS
$custom: #7fcf40;
$custom-light: #aade7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fcf40",
  "rgb": {
    "r": 127,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 93.566,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77503,
    "c": 0.19138,
    "h": 134.2
  },
  "luminance": 0.49508
}

Semantic roles & 50–950 ramp

primary
#7FCF40
secondary
#B997D4
accent
#45E39D
background
#FAFDF7
surface
#F4FBEE
border
#CED4C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7FCF40

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

Preview Lab → · Contrast checker → · Palette generator →

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