#7FD938#7FD938

#7FD938 is a light, highly saturated yellow-green. Relative luminance 0.544; OKLCH L 79.9% C 0.208 H 134.7°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#7FD938
RGBrgb(127, 217, 56)
HSLhsl(94, 68%, 54%)
HSVhsv(94, 74%, 85%)
CMYKcmyk(41.5%, 0%, 74.2%, 14.9%)
CIE-LABlab(78.71, -52.32, 66.24)
CIE-LCHlch(78.71, 84.41, 128.30°)
OKLaboklab(79.89% -0.1464 0.1482)
OKLCHoklch(79.89% 0.208 134.7)
XYZxyz(34.2784, 54.4214, 12.4388)
Luminance0.5442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FD938 #9238D9
analogous
#D0D938 #7FD938 #38D941
triadic
#7FD938 #387FD9 #D9387F
tetradic
#7FD938 #38D0D9 #9238D9 #D94138
square
#7FD938 #38D0D9 #9238D9 #D94138
split-complementary
#7FD938 #4138D9 #D938D0
monochromatic
#457E18 #61B222 #7FD938 #A0E36B #C1ED9F

Accessibility & contrast

On white

1.77
#7FD938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#7FD938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FD938
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FD938#FFFFFF#000000##000000
##7FD9381.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C715
Deuteranopia (green-blind)
#D5C048
Tritanopia (blue-blind)
#7DD1BA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #7fd938;
/* rgb */ color: rgb(127, 217, 56);
/* oklch */ color: oklch(79.9% 0.208 134.7);
Tailwind
colors: {
  custom: {
    50: '#abe57a',
    500: '#7fd938',
    950: '#000000',
  },
}
SCSS
$custom: #7fd938;
$custom-light: #abe57a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fd938",
  "rgb": {
    "r": 127,
    "g": 217,
    "b": 56
  },
  "hsl": {
    "h": 93.54,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79894,
    "c": 0.20832,
    "h": 134.7
  },
  "luminance": 0.54423
}

Semantic roles & 50–950 ramp

primary
#7FD938
secondary
#603086
accent
#3DEB9E
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11160A
muted
#81847D

Preview Lab

Preview with #7FD938

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

Preview Lab → · Contrast checker → · Palette generator →

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