#7FA556#7FA556

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

Color values

HEX#7FA556
RGBrgb(127, 165, 86)
HSLhsl(89, 31%, 49%)
HSVhsv(89, 48%, 65%)
CMYKcmyk(23%, 0%, 47.9%, 35.3%)
CIE-LABlab(63.42, -26.80, 36.62)
CIE-LCHlch(63.42, 45.38, 126.19°)
OKLaboklab(67.54% -0.0742 0.0882)
OKLCHoklch(67.54% 0.115 130.1)
XYZxyz(23.8870, 32.0937, 13.7385)
Luminance0.3209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA556 #7C56A5
analogous
#A5A456 #7FA556 #58A556
triadic
#7FA556 #567FA5 #A5567F
tetradic
#7FA556 #56A5A4 #7C56A5 #A55658
square
#7FA556 #56A5A4 #7C56A5 #A55658
split-complementary
#7FA556 #5658A5 #A456A5
monochromatic
#41552C #607D41 #7FA556 #9DBB7D #BCD0A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA556#FFFFFF#000000##000000
##7FA5561.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)
#AB9B4F
Deuteranopia (green-blind)
#A6995B
Tritanopia (blue-blind)
#819F92
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa556;
/* rgb */ color: rgb(127, 165, 86);
/* oklch */ color: oklch(67.5% 0.115 130.1);
Tailwind
colors: {
  custom: {
    50: '#a6c087',
    500: '#7fa556',
    950: '#000000',
  },
}
SCSS
$custom: #7fa556;
$custom-light: #a6c087;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa556",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 86
  },
  "hsl": {
    "h": 88.861,
    "s": 31.474,
    "l": 49.216
  },
  "oklch": {
    "l": 0.67538,
    "c": 0.11526,
    "h": 130.1
  },
  "luminance": 0.32094
}

Semantic roles & 50–950 ramp

primary
#7FA556
secondary
#AB99BE
accent
#60C892
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA556

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

Preview Lab → · Contrast checker → · Palette generator →

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