#7FC258#7FC258

#7FC258 is a light, vivid yellow-green. Relative luminance 0.438; OKLCH L 74.6% C 0.155 H 135.4°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7FC258
RGBrgb(127, 194, 88)
HSLhsl(98, 46%, 55%)
HSVhsv(98, 55%, 76%)
CMYKcmyk(34.5%, 0%, 54.6%, 23.9%)
CIE-LABlab(72.09, -40.02, 46.10)
CIE-LCHlch(72.09, 61.05, 130.97°)
OKLaboklab(74.58% -0.1106 0.1092)
OKLCHoklch(74.58% 0.155 135.4)
XYZxyz(29.8049, 43.7989, 16.1143)
Luminance0.4380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC258 #9B58C2
analogous
#B4C258 #7FC258 #58C266
triadic
#7FC258 #587FC2 #C2587F
tetradic
#7FC258 #58B4C2 #9B58C2 #C26658
square
#7FC258 #58B4C2 #9B58C2 #C26658
split-complementary
#7FC258 #6658C2 #C258B4
monochromatic
#46752B #61A23B #7FC258 #A1D285 #C4E3B2

Accessibility & contrast

On white

2.15
#7FC258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#7FC258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC258
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC258#FFFFFF#000000##000000
##7FC2581.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44E
Deuteranopia (green-blind)
#BFAF5F
Tritanopia (blue-blind)
#7EBCAA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #7fc258;
/* rgb */ color: rgb(127, 194, 88);
/* oklch */ color: oklch(74.6% 0.155 135.4);
Tailwind
colors: {
  custom: {
    50: '#a8d58a',
    500: '#7fc258',
    950: '#000000',
  },
}
SCSS
$custom: #7fc258;
$custom-light: #a8d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc258",
  "rgb": {
    "r": 127,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 97.925,
    "s": 46.491,
    "l": 55.294
  },
  "oklch": {
    "l": 0.74577,
    "c": 0.15545,
    "h": 135.4
  },
  "luminance": 0.438
}

Semantic roles & 50–950 ramp

primary
#7FC258
secondary
#C1A5D1
accent
#52D6A5
background
#FAFDF8
surface
#F4FAF0
border
#CED3CB
text
#10140C
muted
#7F837D

Preview Lab

Preview with #7FC258

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

Preview Lab → · Contrast checker → · Palette generator →

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