#7FC931#7FC931

#7FC931 is a light, vivid yellow-green. Relative luminance 0.465; OKLCH L 75.9% C 0.193 H 132.5°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#7FC931
RGBrgb(127, 201, 49)
HSLhsl(89, 61%, 49%)
HSVhsv(89, 76%, 79%)
CMYKcmyk(36.8%, 0%, 75.6%, 21.2%)
CIE-LABlab(73.87, -46.22, 63.85)
CIE-LCHlch(73.87, 78.82, 125.90°)
OKLaboklab(75.93% -0.1304 0.1421)
OKLCHoklch(75.93% 0.193 132.5)
XYZxyz(30.1930, 46.5057, 10.2908)
Luminance0.4651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC931 #7B31C9
analogous
#C9C731 #7FC931 #33C931
triadic
#7FC931 #317FC9 #C9317F
tetradic
#7FC931 #31C9C7 #7B31C9 #C93133
square
#7FC931 #31C9C7 #7B31C9 #C93133
split-complementary
#7FC931 #3133C9 #C731C9
monochromatic
#416719 #609825 #7FC931 #9DD85F #BBE490

Accessibility & contrast

On white

2.04
#7FC931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#7FC931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC931
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC931#FFFFFF#000000##000000
##7FC9311.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B90B
Deuteranopia (green-blind)
#C7B441
Tritanopia (blue-blind)
#80C1AC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7fc931;
/* rgb */ color: rgb(127, 201, 49);
/* oklch */ color: oklch(75.9% 0.193 132.5);
Tailwind
colors: {
  custom: {
    50: '#aada74',
    500: '#7fc931',
    950: '#000000',
  },
}
SCSS
$custom: #7fc931;
$custom-light: #aada74;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc931",
  "rgb": {
    "r": 127,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 89.211,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75926,
    "c": 0.19292,
    "h": 132.5
  },
  "luminance": 0.46507
}

Semantic roles & 50–950 ramp

primary
#7FC931
secondary
#AA87CF
accent
#44E492
background
#FAFDF7
surface
#F5FAED
border
#CFD3C8
text
#111509
muted
#80837B

Preview Lab

Preview with #7FC931

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

Preview Lab → · Contrast checker → · Palette generator →

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