#7FC159#7FC159

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

Color values

HEX#7FC159
RGBrgb(127, 193, 89)
HSLhsl(98, 46%, 55%)
HSVhsv(98, 54%, 76%)
CMYKcmyk(34.2%, 0%, 53.9%, 24.3%)
CIE-LABlab(71.81, -39.47, 45.28)
CIE-LCHlch(71.81, 60.07, 131.08°)
OKLaboklab(74.35% -0.109 0.1075)
OKLCHoklch(74.35% 0.153 135.4)
XYZxyz(29.6248, 43.3720, 16.2600)
Luminance0.4337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC159 #9B59C1
analogous
#B3C159 #7FC159 #59C167
triadic
#7FC159 #597FC1 #C1597F
tetradic
#7FC159 #59B3C1 #9B59C1 #C16759
square
#7FC159 #59B3C1 #9B59C1 #C16759
split-complementary
#7FC159 #6759C1 #C159B3
monochromatic
#46742B #61A13C #7FC159 #A1D286 #C4E2B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FC159#FFFFFF#000000##000000
##7FC1591.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)
#C7B34F
Deuteranopia (green-blind)
#BEAE60
Tritanopia (blue-blind)
#7EBBAA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #7fc159;
/* rgb */ color: rgb(127, 193, 89);
/* oklch */ color: oklch(74.3% 0.153 135.4);
Tailwind
colors: {
  custom: {
    50: '#a7d48b',
    500: '#7fc159',
    950: '#000000',
  },
}
SCSS
$custom: #7fc159;
$custom-light: #a7d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc159",
  "rgb": {
    "r": 127,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 98.077,
    "s": 45.614,
    "l": 55.294
  },
  "oklch": {
    "l": 0.74347,
    "c": 0.15313,
    "h": 135.4
  },
  "luminance": 0.43373
}

Semantic roles & 50–950 ramp

primary
#7FC159
secondary
#C1A5D1
accent
#53D5A6
background
#FAFDF8
surface
#F4FAF0
border
#CED3CB
text
#10140C
muted
#7F837D

Preview Lab

Preview with #7FC159

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

Preview Lab → · Contrast checker → · Palette generator →

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