#7FC251#7FC251

#7FC251 is a light, vivid yellow-green. Relative luminance 0.437; OKLCH L 74.5% C 0.162 H 134.4°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7FC251
RGBrgb(127, 194, 81)
HSLhsl(96, 48%, 54%)
HSVhsv(96, 58%, 76%)
CMYKcmyk(34.5%, 0%, 58.2%, 23.9%)
CIE-LABlab(72.02, -40.75, 49.25)
CIE-LCHlch(72.02, 63.93, 129.61°)
OKLaboklab(74.49% -0.1131 0.1154)
OKLCHoklch(74.49% 0.162 134.4)
XYZxyz(29.5288, 43.6884, 14.6598)
Luminance0.4369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC251 #9451C2
analogous
#B8C251 #7FC251 #51C25C
triadic
#7FC251 #517FC2 #C2517F
tetradic
#7FC251 #51B8C2 #9451C2 #C25C51
square
#7FC251 #51B8C2 #9451C2 #C25C51
split-complementary
#7FC251 #5C51C2 #C251B8
monochromatic
#457128 #619E37 #7FC251 #A0D27E #C2E2AC

Accessibility & contrast

On white

2.16
#7FC251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#7FC251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC251
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC251#FFFFFF#000000##000000
##7FC2511.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B445
Deuteranopia (green-blind)
#BFAF59
Tritanopia (blue-blind)
#7EBBA9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #7fc251;
/* rgb */ color: rgb(127, 194, 81);
/* oklch */ color: oklch(74.5% 0.162 134.4);
Tailwind
colors: {
  custom: {
    50: '#a8d586',
    500: '#7fc251',
    950: '#000000',
  },
}
SCSS
$custom: #7fc251;
$custom-light: #a8d586;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc251",
  "rgb": {
    "r": 127,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 95.575,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74493,
    "c": 0.16161,
    "h": 134.4
  },
  "luminance": 0.4369
}

Semantic roles & 50–950 ramp

primary
#7FC251
secondary
#BC9FD0
accent
#50D8A0
background
#FAFDF8
surface
#F4FAF0
border
#CED3CB
text
#10140B
muted
#7F837C

Preview Lab

Preview with #7FC251

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

Preview Lab → · Contrast checker → · Palette generator →

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