#7FC256#7FC256

#7FC256 is a light, vivid yellow-green. Relative luminance 0.438; OKLCH L 74.6% C 0.157 H 135.1°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7FC256
RGBrgb(127, 194, 86)
HSLhsl(97, 47%, 55%)
HSVhsv(97, 56%, 76%)
CMYKcmyk(34.5%, 0%, 55.7%, 23.9%)
CIE-LABlab(72.07, -40.24, 47.01)
CIE-LCHlch(72.07, 61.88, 130.56°)
OKLaboklab(74.55% -0.1114 0.111)
OKLCHoklch(74.55% 0.157 135.1)
XYZxyz(29.7232, 43.7662, 15.6839)
Luminance0.4377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC256 #9956C2
analogous
#B5C256 #7FC256 #56C263
triadic
#7FC256 #567FC2 #C2567F
tetradic
#7FC256 #56B5C2 #9956C2 #C26356
square
#7FC256 #56B5C2 #9956C2 #C26356
split-complementary
#7FC256 #6356C2 #C256B5
monochromatic
#46742A #61A13A #7FC256 #A1D283 #C3E2B0

Accessibility & contrast

On white

2.15
#7FC256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#7FC256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC256
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC256#FFFFFF#000000##000000
##7FC2561.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B44B
Deuteranopia (green-blind)
#BFAF5E
Tritanopia (blue-blind)
#7EBBAA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #7fc256;
/* rgb */ color: rgb(127, 194, 86);
/* oklch */ color: oklch(74.6% 0.157 135.1);
Tailwind
colors: {
  custom: {
    50: '#a8d589',
    500: '#7fc256',
    950: '#000000',
  },
}
SCSS
$custom: #7fc256;
$custom-light: #a8d589;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc256",
  "rgb": {
    "r": 127,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 97.222,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.74552,
    "c": 0.15724,
    "h": 135.1
  },
  "luminance": 0.43767
}

Semantic roles & 50–950 ramp

primary
#7FC256
secondary
#BFA3D1
accent
#51D7A4
background
#FAFDF8
surface
#F4FAF0
border
#CED3CB
text
#10140C
muted
#7F837D

Preview Lab

Preview with #7FC256

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

Preview Lab → · Contrast checker → · Palette generator →

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