#7FAB4E#7FAB4E

#7FAB4E is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.9% C 0.132 H 130.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7FAB4E
RGBrgb(127, 171, 78)
HSLhsl(88, 37%, 49%)
HSVhsv(88, 54%, 67%)
CMYKcmyk(25.7%, 0%, 54.4%, 32.9%)
CIE-LABlab(65.11, -30.59, 42.63)
CIE-LCHlch(65.11, 52.47, 125.66°)
OKLaboklab(68.87% -0.0853 0.1008)
OKLCHoklch(68.87% 0.132 130.2)
XYZxyz(24.6902, 34.1873, 12.5042)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAB4E #7A4EAB
analogous
#ABA94E #7FAB4E #51AB4E
triadic
#7FAB4E #4E7FAB #AB4E7F
tetradic
#7FAB4E #4EABA9 #7A4EAB #AB4E51
square
#7FAB4E #4EABA9 #7A4EAB #AB4E51
split-complementary
#7FAB4E #4E51AB #A94EAB
monochromatic
#415728 #60813B #7FAB4E #9DC076 #BBD4A0

Accessibility & contrast

On white

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

On black

7.84
#7FAB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAB4E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAB4E#FFFFFF#000000##000000
##7FAB4E1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A045
Deuteranopia (green-blind)
#AC9D54
Tritanopia (blue-blind)
#82A496
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fab4e;
/* rgb */ color: rgb(127, 171, 78);
/* oklch */ color: oklch(68.9% 0.132 130.2);
Tailwind
colors: {
  custom: {
    50: '#a6c482',
    500: '#7fab4e',
    950: '#000000',
  },
}
SCSS
$custom: #7fab4e;
$custom-light: #a6c482;
$custom-dark: #000000;
JSON
{
  "hex": "#7fab4e",
  "rgb": {
    "r": 127,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 88.387,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.68872,
    "c": 0.1321,
    "h": 130.2
  },
  "luminance": 0.34188
}

Semantic roles & 50–950 ramp

primary
#7FAB4E
secondary
#A994C1
accent
#5ACD91
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #7FAB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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