#7FA562#7FA562

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

Color values

HEX#7FA562
RGBrgb(127, 165, 98)
HSLhsl(94, 27%, 52%)
HSVhsv(94, 41%, 65%)
CMYKcmyk(23%, 0%, 40.6%, 35.3%)
CIE-LABlab(63.59, -25.25, 30.60)
CIE-LCHlch(63.59, 39.67, 129.53°)
OKLaboklab(67.73% -0.0692 0.0752)
OKLCHoklch(67.73% 0.102 132.6)
XYZxyz(24.4117, 32.3036, 16.5020)
Luminance0.3230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA562 #8862A5
analogous
#A1A562 #7FA562 #62A567
triadic
#7FA562 #627FA5 #A5627F
tetradic
#7FA562 #62A1A5 #8862A5 #A56762
square
#7FA562 #62A1A5 #8862A5 #A56762
split-complementary
#7FA562 #6762A5 #A562A1
monochromatic
#445933 #61804A #7FA562 #9FBB89 #BED2B0

Accessibility & contrast

On white

2.81
#7FA562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#7FA562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA562
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA562#FFFFFF#000000##000000
##7FA5621.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa562;
/* rgb */ color: rgb(127, 165, 98);
/* oklch */ color: oklch(67.7% 0.102 132.6);
Tailwind
colors: {
  custom: {
    50: '#a5c08f',
    500: '#7fa562',
    950: '#000000',
  },
}
SCSS
$custom: #7fa562;
$custom-light: #a5c08f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa562",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 98
  },
  "hsl": {
    "h": 94.03,
    "s": 27.126,
    "l": 51.569
  },
  "oklch": {
    "l": 0.67733,
    "c": 0.10219,
    "h": 132.6
  },
  "luminance": 0.32304
}

Semantic roles & 50–950 ramp

primary
#7FA562
secondary
#B3A3C0
accent
#64C39A
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA562

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

Preview Lab → · Contrast checker → · Palette generator →

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