#7FA657#7FA657

#7FA657 is a light, moderate yellow-green. Relative luminance 0.325; OKLCH L 67.8% C 0.116 H 130.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7FA657
RGBrgb(127, 166, 87)
HSLhsl(90, 31%, 50%)
HSVhsv(90, 48%, 65%)
CMYKcmyk(23.5%, 0%, 47.6%, 34.9%)
CIE-LABlab(63.73, -27.16, 36.49)
CIE-LCHlch(63.73, 45.49, 126.66°)
OKLaboklab(67.79% -0.0752 0.088)
OKLCHoklch(67.79% 0.116 130.5)
XYZxyz(24.1086, 32.4721, 14.0125)
Luminance0.3247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA657 #7E57A6
analogous
#A6A557 #7FA657 #58A657
triadic
#7FA657 #577FA6 #A6577F
tetradic
#7FA657 #57A6A5 #7E57A6 #A65758
square
#7FA657 #57A6A5 #7E57A6 #A65758
split-complementary
#7FA657 #5758A6 #A557A6
monochromatic
#42562D #607E42 #7FA657 #9DBC7F #BCD1A7

Accessibility & contrast

On white

2.80
#7FA657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#7FA657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA657
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA657#FFFFFF#000000##000000
##7FA6571.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C50
Deuteranopia (green-blind)
#A7995C
Tritanopia (blue-blind)
#81A093
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa657;
/* rgb */ color: rgb(127, 166, 87);
/* oklch */ color: oklch(67.8% 0.116 130.5);
Tailwind
colors: {
  custom: {
    50: '#a6c088',
    500: '#7fa657',
    950: '#000000',
  },
}
SCSS
$custom: #7fa657;
$custom-light: #a6c088;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa657",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 87
  },
  "hsl": {
    "h": 89.62,
    "s": 31.225,
    "l": 49.608
  },
  "oklch": {
    "l": 0.67793,
    "c": 0.11571,
    "h": 130.5
  },
  "luminance": 0.32473
}

Semantic roles & 50–950 ramp

primary
#7FA657
secondary
#AC9ABE
accent
#60C793
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA657

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

Preview Lab → · Contrast checker → · Palette generator →

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