#7FC138#7FC138

#7FC138 is a light, vivid yellow-green. Relative luminance 0.429; OKLCH L 74.0% C 0.179 H 131.9°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7FC138
RGBrgb(127, 193, 56)
HSLhsl(89, 55%, 49%)
HSVhsv(89, 71%, 76%)
CMYKcmyk(34.2%, 0%, 71%, 24.3%)
CIE-LABlab(71.51, -42.40, 59.10)
CIE-LCHlch(71.51, 72.74, 125.66°)
OKLaboklab(74.01% -0.1196 0.1332)
OKLCHoklch(74.01% 0.179 131.9)
XYZxyz(28.5358, 42.9364, 10.5246)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC138 #7A38C1
analogous
#C1BF38 #7FC138 #3BC138
triadic
#7FC138 #387FC1 #C1387F
tetradic
#7FC138 #38C1BF #7A38C1 #C1383B
square
#7FC138 #38C1BF #7A38C1 #C1383B
split-complementary
#7FC138 #383BC1 #BF38C1
monochromatic
#41621C #60922A #7FC138 #9DD264 #BBE094

Accessibility & contrast

On white

2.19
#7FC138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#7FC138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC138
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC138#FFFFFF#000000##000000
##7FC1381.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B221
Deuteranopia (green-blind)
#C0AD45
Tritanopia (blue-blind)
#81B9A6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #7fc138;
/* rgb */ color: rgb(127, 193, 56);
/* oklch */ color: oklch(74.0% 0.179 131.9);
Tailwind
colors: {
  custom: {
    50: '#a9d477',
    500: '#7fc138',
    950: '#000000',
  },
}
SCSS
$custom: #7fc138;
$custom-light: #a9d477;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc138",
  "rgb": {
    "r": 127,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 88.905,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74012,
    "c": 0.17902,
    "h": 131.9
  },
  "luminance": 0.42937
}

Semantic roles & 50–950 ramp

primary
#7FC138
secondary
#A98ACB
accent
#49DE91
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#101409
muted
#7F837B

Preview Lab

Preview with #7FC138

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

Preview Lab → · Contrast checker → · Palette generator →

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