#7FC42B#7FC42B

#7FC42B is a light, vivid yellow-green. Relative luminance 0.442; OKLCH L 74.7% C 0.190 H 131.6°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7FC42B
RGBrgb(127, 196, 43)
HSLhsl(87, 64%, 47%)
HSVhsv(87, 78%, 77%)
CMYKcmyk(35.2%, 0%, 78.1%, 23.1%)
CIE-LABlab(72.34, -44.44, 64.27)
CIE-LCHlch(72.34, 78.14, 124.66°)
OKLaboklab(74.66% -0.126 0.1421)
OKLCHoklch(74.66% 0.19 131.6)
XYZxyz(28.9281, 44.1651, 9.2856)
Luminance0.4417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC42B #702BC4
analogous
#C4BD2B #7FC42B #32C42B
triadic
#7FC42B #2B7FC4 #C42B7F
tetradic
#7FC42B #2BC4BD #702BC4 #C42B32
square
#7FC42B #2BC4BD #702BC4 #C42B32
split-complementary
#7FC42B #2B32C4 #BD2BC4
monochromatic
#3E6015 #5E9220 #7FC42B #9DD953 #B9E485

Accessibility & contrast

On white

2.14
#7FC42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#7FC42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC42B
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC42B#FFFFFF#000000##000000
##7FC42B1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#C3B03C
Tritanopia (blue-blind)
#81BCA8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #7fc42b;
/* rgb */ color: rgb(127, 196, 43);
/* oklch */ color: oklch(74.7% 0.190 131.6);
Tailwind
colors: {
  custom: {
    50: '#aad671',
    500: '#7fc42b',
    950: '#000000',
  },
}
SCSS
$custom: #7fc42b;
$custom-light: #aad671;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc42b",
  "rgb": {
    "r": 127,
    "g": 196,
    "b": 43
  },
  "hsl": {
    "h": 87.059,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74663,
    "c": 0.18995,
    "h": 131.6
  },
  "luminance": 0.44166
}

Semantic roles & 50–950 ramp

primary
#7FC42B
secondary
#A17DCE
accent
#41E78C
background
#FAFDF7
surface
#F5FAED
border
#CFD3C8
text
#101408
muted
#7F837B

Preview Lab

Preview with #7FC42B

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

Preview Lab → · Contrast checker → · Palette generator →

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