#7FC158#7FC158

#7FC158 is a light, vivid yellow-green. Relative luminance 0.434; OKLCH L 74.3% C 0.154 H 135.3°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7FC158
RGBrgb(127, 193, 88)
HSLhsl(98, 46%, 55%)
HSVhsv(98, 54%, 76%)
CMYKcmyk(34.2%, 0%, 54.4%, 24.3%)
CIE-LABlab(71.80, -39.58, 45.74)
CIE-LCHlch(71.80, 60.49, 130.87°)
OKLaboklab(74.33% -0.1094 0.1084)
OKLCHoklch(74.33% 0.154 135.3)
XYZxyz(29.5831, 43.3553, 16.0403)
Luminance0.4336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC158 #9A58C1
analogous
#B4C158 #7FC158 #58C165
triadic
#7FC158 #587FC1 #C1587F
tetradic
#7FC158 #58B4C1 #9A58C1 #C16558
square
#7FC158 #58B4C1 #9A58C1 #C16558
split-complementary
#7FC158 #6558C1 #C158B4
monochromatic
#46742B #61A03C #7FC158 #A1D285 #C3E2B1

Accessibility & contrast

On white

2.17
#7FC158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#7FC158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC158
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC158#FFFFFF#000000##000000
##7FC1581.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fc158;
/* rgb */ color: rgb(127, 193, 88);
/* oklch */ color: oklch(74.3% 0.154 135.3);
Tailwind
colors: {
  custom: {
    50: '#a7d48a',
    500: '#7fc158',
    950: '#000000',
  },
}
SCSS
$custom: #7fc158;
$custom-light: #a7d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc158",
  "rgb": {
    "r": 127,
    "g": 193,
    "b": 88
  },
  "hsl": {
    "h": 97.714,
    "s": 45.852,
    "l": 55.098
  },
  "oklch": {
    "l": 0.74334,
    "c": 0.15404,
    "h": 135.3
  },
  "luminance": 0.43357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FC158

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

Preview Lab → · Contrast checker → · Palette generator →

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