#7FC02B#7FC02B

#7FC02B is a light, vivid yellow-green. Relative luminance 0.424; OKLCH L 73.7% C 0.185 H 131.0°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7FC02B
RGBrgb(127, 192, 43)
HSLhsl(86, 63%, 46%)
HSVhsv(86, 78%, 75%)
CMYKcmyk(33.9%, 0%, 77.6%, 24.7%)
CIE-LABlab(71.14, -42.74, 63.15)
CIE-LCHlch(71.14, 76.25, 124.09°)
OKLaboklab(73.68% -0.1214 0.1398)
OKLCHoklch(73.68% 0.185 131)
XYZxyz(28.0379, 42.3847, 8.9888)
Luminance0.4239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC02B #6C2BC0
analogous
#C0B62B #7FC02B #35C02B
triadic
#7FC02B #2B7FC0 #C02B7F
tetradic
#7FC02B #2BC0B6 #6C2BC0 #C02B35
square
#7FC02B #2BC0B6 #6C2BC0 #C02B35
split-complementary
#7FC02B #2B35C0 #B62BC0
monochromatic
#3D5C15 #5E8E20 #7FC02B #9DD850 #B9E382

Accessibility & contrast

On white

2.22
#7FC02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#7FC02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC02B
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC02B#FFFFFF#000000##000000
##7FC02B1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C0AC3B
Tritanopia (blue-blind)
#82B8A4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #7fc02b;
/* rgb */ color: rgb(127, 192, 43);
/* oklch */ color: oklch(73.7% 0.185 131.0);
Tailwind
colors: {
  custom: {
    50: '#a9d370',
    500: '#7fc02b',
    950: '#000000',
  },
}
SCSS
$custom: #7fc02b;
$custom-light: #a9d370;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc02b",
  "rgb": {
    "r": 127,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 86.174,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7368,
    "c": 0.18514,
    "h": 131
  },
  "luminance": 0.42386
}

Semantic roles & 50–950 ramp

primary
#7FC02B
secondary
#9E7BCC
accent
#41E689
background
#FAFDF7
surface
#F4FAED
border
#CED3C8
text
#101408
muted
#7F837B

Preview Lab

Preview with #7FC02B

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

Preview Lab → · Contrast checker → · Palette generator →

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