#7FC938#7FC938

#7FC938 is a light, vivid yellow-green. Relative luminance 0.466; OKLCH L 76.0% C 0.189 H 133.0°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#7FC938
RGBrgb(127, 201, 56)
HSLhsl(91, 57%, 50%)
HSVhsv(91, 72%, 79%)
CMYKcmyk(36.8%, 0%, 72.1%, 21.2%)
CIE-LABlab(73.91, -45.80, 61.51)
CIE-LCHlch(73.91, 76.69, 126.67°)
OKLaboklab(75.97% -0.1288 0.1383)
OKLCHoklch(75.97% 0.189 133)
XYZxyz(30.3524, 46.5695, 11.1302)
Luminance0.4657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC938 #8238C9
analogous
#C7C938 #7FC938 #38C93A
triadic
#7FC938 #387FC9 #C9387F
tetradic
#7FC938 #38C7C9 #8238C9 #C93A38
square
#7FC938 #38C7C9 #8238C9 #C93A38
split-complementary
#7FC938 #3A38C9 #C938C7
monochromatic
#436A1D #619A2A #7FC938 #9ED668 #BDE398

Accessibility & contrast

On white

2.04
#7FC938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#7FC938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC938
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC938#FFFFFF#000000##000000
##7FC9381.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91E
Deuteranopia (green-blind)
#C7B446
Tritanopia (blue-blind)
#80C1AD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7fc938;
/* rgb */ color: rgb(127, 201, 56);
/* oklch */ color: oklch(76.0% 0.189 133.0);
Tailwind
colors: {
  custom: {
    50: '#aada78',
    500: '#7fc938',
    950: '#000000',
  },
}
SCSS
$custom: #7fc938;
$custom-light: #aada78;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc938",
  "rgb": {
    "r": 127,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 90.621,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75972,
    "c": 0.18896,
    "h": 133
  },
  "luminance": 0.46571
}

Semantic roles & 50–950 ramp

primary
#7FC938
secondary
#AF8ECF
accent
#47E195
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#101509
muted
#7F837B

Preview Lab

Preview with #7FC938

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

Preview Lab → · Contrast checker → · Palette generator →

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