#7FC838#7FC838

#7FC838 is a light, vivid yellow-green. Relative luminance 0.461; OKLCH L 75.7% C 0.188 H 132.8°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7FC838
RGBrgb(127, 200, 56)
HSLhsl(90, 57%, 50%)
HSVhsv(90, 72%, 78%)
CMYKcmyk(36.5%, 0%, 72%, 21.6%)
CIE-LABlab(73.61, -45.38, 61.21)
CIE-LCHlch(73.61, 76.20, 126.55°)
OKLaboklab(75.73% -0.1277 0.1376)
OKLCHoklch(75.73% 0.188 132.8)
XYZxyz(30.1201, 46.1048, 11.0527)
Luminance0.4611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC838 #8138C8
analogous
#C7C838 #7FC838 #38C839
triadic
#7FC838 #387FC8 #C8387F
tetradic
#7FC838 #38C7C8 #8138C8 #C83938
square
#7FC838 #38C7C8 #8138C8 #C83938
split-complementary
#7FC838 #3938C8 #C838C7
monochromatic
#42691D #61992A #7FC838 #9ED568 #BDE398

Accessibility & contrast

On white

2.05
#7FC838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#7FC838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC838
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC838#FFFFFF#000000##000000
##7FC8381.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B91E
Deuteranopia (green-blind)
#C6B346
Tritanopia (blue-blind)
#80C0AC
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #7fc838;
/* rgb */ color: rgb(127, 200, 56);
/* oklch */ color: oklch(75.7% 0.188 132.8);
Tailwind
colors: {
  custom: {
    50: '#a9d978',
    500: '#7fc838',
    950: '#000000',
  },
}
SCSS
$custom: #7fc838;
$custom-light: #a9d978;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc838",
  "rgb": {
    "r": 127,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 90.417,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75727,
    "c": 0.18772,
    "h": 132.8
  },
  "luminance": 0.46106
}

Semantic roles & 50–950 ramp

primary
#7FC838
secondary
#AE8ECE
accent
#48E095
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#101409
muted
#7F837B

Preview Lab

Preview with #7FC838

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

Preview Lab → · Contrast checker → · Palette generator →

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