#7FA866#7FA866

#7FA866 is a light, moderate yellow-green. Relative luminance 0.335; OKLCH L 68.5% C 0.102 H 134.3°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7FA866
RGBrgb(127, 168, 102)
HSLhsl(97, 28%, 53%)
HSVhsv(97, 39%, 66%)
CMYKcmyk(24.4%, 0%, 39.3%, 34.1%)
CIE-LABlab(64.54, -26.16, 29.71)
CIE-LCHlch(64.54, 39.59, 131.37°)
OKLaboklab(68.52% -0.0716 0.0733)
OKLCHoklch(68.52% 0.102 134.3)
XYZxyz(25.1527, 33.4759, 17.7041)
Luminance0.3348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA866 #8F66A8
analogous
#A0A866 #7FA866 #66A86E
triadic
#7FA866 #667FA8 #A8667F
tetradic
#7FA866 #66A0A8 #8F66A8 #A86E66
square
#7FA866 #66A0A8 #8F66A8 #A86E66
split-complementary
#7FA866 #6E66A8 #A866A0
monochromatic
#455E36 #61854C #7FA866 #A0BE8D #C0D4B4

Accessibility & contrast

On white

2.73
#7FA866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#7FA866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA866
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA866#FFFFFF#000000##000000
##7FA8661.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9F61
Deuteranopia (green-blind)
#A79B6A
Tritanopia (blue-blind)
#7FA398
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa866;
/* rgb */ color: rgb(127, 168, 102);
/* oklch */ color: oklch(68.5% 0.102 134.3);
Tailwind
colors: {
  custom: {
    50: '#a5c292',
    500: '#7fa866',
    950: '#000000',
  },
}
SCSS
$custom: #7fa866;
$custom-light: #a5c292;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa866",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 102
  },
  "hsl": {
    "h": 97.273,
    "s": 27.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.68521,
    "c": 0.10245,
    "h": 134.3
  },
  "luminance": 0.33477
}

Semantic roles & 50–950 ramp

primary
#7FA866
secondary
#B8A7C3
accent
#64C4A0
background
#FAFBF9
surface
#F4F7F1
border
#CED0CB
text
#0F120D
muted
#7F817E

Preview Lab

Preview with #7FA866

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

Preview Lab → · Contrast checker → · Palette generator →

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