#7FC531#7FC531

#7FC531 is a light, vivid yellow-green. Relative luminance 0.447; OKLCH L 74.9% C 0.188 H 132.0°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7FC531
RGBrgb(127, 197, 49)
HSLhsl(88, 60%, 48%)
HSVhsv(88, 75%, 77%)
CMYKcmyk(35.5%, 0%, 75.1%, 22.7%)
CIE-LABlab(72.67, -44.54, 62.69)
CIE-LCHlch(72.67, 76.91, 125.39°)
OKLaboklab(74.94% -0.1259 0.1397)
OKLCHoklch(74.94% 0.188 132)
XYZxyz(29.2727, 44.6651, 9.9840)
Luminance0.4467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC531 #7731C5
analogous
#C5C131 #7FC531 #35C531
triadic
#7FC531 #317FC5 #C5317F
tetradic
#7FC531 #31C5C1 #7731C5 #C53135
square
#7FC531 #31C5C1 #7731C5 #C53135
split-complementary
#7FC531 #3135C5 #C131C5
monochromatic
#406319 #5F9425 #7FC531 #9DD75D #BBE38E

Accessibility & contrast

On white

2.11
#7FC531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#7FC531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC531
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC531#FFFFFF#000000##000000
##7FC5311.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB60F
Deuteranopia (green-blind)
#C4B040
Tritanopia (blue-blind)
#81BDA9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #7fc531;
/* rgb */ color: rgb(127, 197, 49);
/* oklch */ color: oklch(74.9% 0.188 132.0);
Tailwind
colors: {
  custom: {
    50: '#a9d774',
    500: '#7fc531',
    950: '#000000',
  },
}
SCSS
$custom: #7fc531;
$custom-light: #a9d774;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc531",
  "rgb": {
    "r": 127,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 88.378,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74944,
    "c": 0.18807,
    "h": 132
  },
  "luminance": 0.44666
}

Semantic roles & 50–950 ramp

primary
#7FC531
secondary
#A785CD
accent
#44E390
background
#FAFDF7
surface
#F4FAED
border
#CED3C8
text
#101409
muted
#7F837B

Preview Lab

Preview with #7FC531

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

Preview Lab → · Contrast checker → · Palette generator →

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