#7FA557#7FA557

#7FA557 is a light, moderate yellow-green. Relative luminance 0.321; OKLCH L 67.6% C 0.114 H 130.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7FA557
RGBrgb(127, 165, 87)
HSLhsl(89, 31%, 49%)
HSVhsv(89, 47%, 65%)
CMYKcmyk(23%, 0%, 47.3%, 35.3%)
CIE-LABlab(63.43, -26.68, 36.12)
CIE-LCHlch(63.43, 44.91, 126.44°)
OKLaboklab(67.55% -0.0738 0.0872)
OKLCHoklch(67.55% 0.114 130.3)
XYZxyz(23.9275, 32.1099, 13.9522)
Luminance0.3211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA557 #7D57A5
analogous
#A5A457 #7FA557 #58A557
triadic
#7FA557 #577FA5 #A5577F
tetradic
#7FA557 #57A5A4 #7D57A5 #A55758
square
#7FA557 #57A5A4 #7D57A5 #A55758
split-complementary
#7FA557 #5758A5 #A457A5
monochromatic
#41552D #607D42 #7FA557 #9DBB7E #BCD0A6

Accessibility & contrast

On white

2.83
#7FA557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#7FA557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA557
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA557#FFFFFF#000000##000000
##7FA5571.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B51
Deuteranopia (green-blind)
#A6995C
Tritanopia (blue-blind)
#819F93
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa557;
/* rgb */ color: rgb(127, 165, 87);
/* oklch */ color: oklch(67.6% 0.114 130.3);
Tailwind
colors: {
  custom: {
    50: '#a6c088',
    500: '#7fa557',
    950: '#000000',
  },
}
SCSS
$custom: #7fa557;
$custom-light: #a6c088;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa557",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 87
  },
  "hsl": {
    "h": 89.231,
    "s": 30.952,
    "l": 49.412
  },
  "oklch": {
    "l": 0.67553,
    "c": 0.11421,
    "h": 130.3
  },
  "luminance": 0.3211
}

Semantic roles & 50–950 ramp

primary
#7FA557
secondary
#AB9ABE
accent
#61C793
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA557

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

Preview Lab → · Contrast checker → · Palette generator →

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