#7FAC28#7FAC28

#7FAC28 is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.8% C 0.162 H 127.2°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7FAC28
RGBrgb(127, 172, 40)
HSLhsl(80, 62%, 42%)
HSVhsv(80, 77%, 67%)
CMYKcmyk(26.2%, 0%, 76.7%, 32.5%)
CIE-LABlab(65.10, -34.02, 58.41)
CIE-LCHlch(65.10, 67.60, 120.22°)
OKLaboklab(68.76% -0.098 0.1293)
OKLCHoklch(68.76% 0.162 127.2)
XYZxyz(23.8880, 34.1698, 7.3440)
Luminance0.3417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC28 #5528AC
analogous
#AC9728 #7FAC28 #3DAC28
triadic
#7FAC28 #287FAC #AC287F
tetradic
#7FAC28 #28AC97 #5528AC #AC283D
square
#7FAC28 #28AC97 #5528AC #AC283D
split-complementary
#7FAC28 #283DAC #9728AC
monochromatic
#364911 #5A7A1C #7FAC28 #A0D23F #B9DE71

Accessibility & contrast

On white

2.68
#7FAC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#7FAC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAC28
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAC28#FFFFFF#000000##000000
##7FAC281.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A005
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#84A493
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fac28;
/* rgb */ color: rgb(127, 172, 40);
/* oklch */ color: oklch(68.8% 0.162 127.2);
Tailwind
colors: {
  custom: {
    50: '#a8c56d',
    500: '#7fac28',
    950: '#000000',
  },
}
SCSS
$custom: #7fac28;
$custom-light: #a8c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac28",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 80.455,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6876,
    "c": 0.16227,
    "h": 127.2
  },
  "luminance": 0.3417
}

Semantic roles & 50–950 ramp

primary
#7FAC28
secondary
#8A6BC5
accent
#42E57A
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FAC28

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

Preview Lab → · Contrast checker → · Palette generator →

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