#7FA062#7FA062

#7FA062 is a light, moderate yellow-green. Relative luminance 0.305; OKLCH L 66.5% C 0.094 H 131.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7FA062
RGBrgb(127, 160, 98)
HSLhsl(92, 25%, 51%)
HSVhsv(92, 39%, 63%)
CMYKcmyk(20.6%, 0%, 38.8%, 37.3%)
CIE-LABlab(62.11, -22.75, 28.68)
CIE-LCHlch(62.11, 36.61, 128.42°)
OKLaboklab(66.54% -0.0623 0.0708)
OKLCHoklch(66.54% 0.094 131.4)
XYZxyz(23.5274, 30.5350, 16.2072)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA062 #8362A0
analogous
#9EA062 #7FA062 #62A064
triadic
#7FA062 #627FA0 #A0627F
tetradic
#7FA062 #629EA0 #8362A0 #A06462
square
#7FA062 #629EA0 #8362A0 #A06462
split-complementary
#7FA062 #6462A0 #A0629E
monochromatic
#435433 #617B4A #7FA062 #9EB788 #BDCEAE

Accessibility & contrast

On white

2.95
#7FA062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#7FA062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA062
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA062#FFFFFF#000000##000000
##7FA0621.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5985E
Deuteranopia (green-blind)
#A09565
Tritanopia (blue-blind)
#809B91
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa062;
/* rgb */ color: rgb(127, 160, 98);
/* oklch */ color: oklch(66.5% 0.094 131.4);
Tailwind
colors: {
  custom: {
    50: '#a5bc8f',
    500: '#7fa062',
    950: '#000000',
  },
}
SCSS
$custom: #7fa062;
$custom-light: #a5bc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa062",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 98
  },
  "hsl": {
    "h": 91.935,
    "s": 24.603,
    "l": 50.588
  },
  "oklch": {
    "l": 0.66542,
    "c": 0.09426,
    "h": 131.4
  },
  "luminance": 0.30535
}

Semantic roles & 50–950 ramp

primary
#7FA062
secondary
#B0A1BD
accent
#67C197
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA062

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

Preview Lab → · Contrast checker → · Palette generator →

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