#7FAA4E#7FAA4E

#7FAA4E is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.6% C 0.131 H 130.0°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7FAA4E
RGBrgb(127, 170, 78)
HSLhsl(88, 37%, 49%)
HSVhsv(88, 54%, 67%)
CMYKcmyk(25.3%, 0%, 54.1%, 33.3%)
CIE-LABlab(64.81, -30.11, 42.28)
CIE-LCHlch(64.81, 51.91, 125.46°)
OKLaboklab(68.63% -0.084 0.1001)
OKLCHoklch(68.63% 0.131 130)
XYZxyz(24.5020, 33.8110, 12.4415)
Luminance0.3381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAA4E #794EAA
analogous
#AAA74E #7FAA4E #51AA4E
triadic
#7FAA4E #4E7FAA #AA4E7F
tetradic
#7FAA4E #4EAAA7 #794EAA #AA4E51
square
#7FAA4E #4EAAA7 #794EAA #AA4E51
split-complementary
#7FAA4E #4E51AA #A74EAA
monochromatic
#405628 #60803B #7FAA4E #9DC075 #BBD39F

Accessibility & contrast

On white

2.71
#7FAA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#7FAA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAA4E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAA4E#FFFFFF#000000##000000
##7FAA4E1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F45
Deuteranopia (green-blind)
#AB9C54
Tritanopia (blue-blind)
#82A495
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7faa4e;
/* rgb */ color: rgb(127, 170, 78);
/* oklch */ color: oklch(68.6% 0.131 130.0);
Tailwind
colors: {
  custom: {
    50: '#a6c382',
    500: '#7faa4e',
    950: '#000000',
  },
}
SCSS
$custom: #7faa4e;
$custom-light: #a6c382;
$custom-dark: #000000;
JSON
{
  "hex": "#7faa4e",
  "rgb": {
    "r": 127,
    "g": 170,
    "b": 78
  },
  "hsl": {
    "h": 88.043,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.68631,
    "c": 0.13066,
    "h": 130
  },
  "luminance": 0.33812
}

Semantic roles & 50–950 ramp

primary
#7FAA4E
secondary
#A894C0
accent
#5BCD90
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #7FAA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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