#7FA560#7FA560

#7FA560 is a light, moderate yellow-green. Relative luminance 0.323; OKLCH L 67.7% C 0.104 H 132.1°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7FA560
RGBrgb(127, 165, 96)
HSLhsl(93, 28%, 51%)
HSVhsv(93, 42%, 65%)
CMYKcmyk(23%, 0%, 41.8%, 35.3%)
CIE-LABlab(63.56, -25.52, 31.61)
CIE-LCHlch(63.56, 40.63, 128.91°)
OKLaboklab(67.7% -0.0701 0.0774)
OKLCHoklch(67.7% 0.104 132.1)
XYZxyz(24.3184, 32.2663, 16.0108)
Luminance0.3227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA560 #8660A5
analogous
#A1A560 #7FA560 #60A563
triadic
#7FA560 #607FA5 #A5607F
tetradic
#7FA560 #60A1A5 #8660A5 #A56360
square
#7FA560 #60A1A5 #8660A5 #A56360
split-complementary
#7FA560 #6360A5 #A560A1
monochromatic
#435932 #618048 #7FA560 #9EBB87 #BED1AE

Accessibility & contrast

On white

2.82
#7FA560 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#7FA560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA560
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA560#FFFFFF#000000##000000
##7FA5601.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9C5B
Deuteranopia (green-blind)
#A59964
Tritanopia (blue-blind)
#80A094
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa560;
/* rgb */ color: rgb(127, 165, 96);
/* oklch */ color: oklch(67.7% 0.104 132.1);
Tailwind
colors: {
  custom: {
    50: '#a5c08e',
    500: '#7fa560',
    950: '#000000',
  },
}
SCSS
$custom: #7fa560;
$custom-light: #a5c08e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa560",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 96
  },
  "hsl": {
    "h": 93.043,
    "s": 27.711,
    "l": 51.176
  },
  "oklch": {
    "l": 0.67699,
    "c": 0.10442,
    "h": 132.1
  },
  "luminance": 0.32267
}

Semantic roles & 50–950 ramp

primary
#7FA560
secondary
#B2A1C0
accent
#64C499
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA560

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

Preview Lab → · Contrast checker → · Palette generator →

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