#7FA162#7FA162

#7FA162 is a light, moderate yellow-green. Relative luminance 0.309; OKLCH L 66.8% C 0.096 H 131.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7FA162
RGBrgb(127, 161, 98)
HSLhsl(92, 25%, 51%)
HSVhsv(92, 39%, 63%)
CMYKcmyk(21.1%, 0%, 39.1%, 36.9%)
CIE-LABlab(62.41, -23.26, 29.07)
CIE-LCHlch(62.41, 37.23, 128.66°)
OKLaboklab(66.78% -0.0637 0.0717)
OKLCHoklch(66.78% 0.096 131.6)
XYZxyz(23.7015, 30.8831, 16.2652)
Luminance0.3088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA162 #8462A1
analogous
#9EA162 #7FA162 #62A164
triadic
#7FA162 #627FA1 #A1627F
tetradic
#7FA162 #629EA1 #8462A1 #A16462
square
#7FA162 #629EA1 #8462A1 #A16462
split-complementary
#7FA162 #6462A1 #A1629E
monochromatic
#435533 #617C4A #7FA162 #9EB888 #BDCFAF

Accessibility & contrast

On white

2.93
#7FA162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#7FA162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA162
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA162#FFFFFF#000000##000000
##7FA1621.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6995D
Deuteranopia (green-blind)
#A19665
Tritanopia (blue-blind)
#809C91
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa162;
/* rgb */ color: rgb(127, 161, 98);
/* oklch */ color: oklch(66.8% 0.096 131.6);
Tailwind
colors: {
  custom: {
    50: '#a5bd8f',
    500: '#7fa162',
    950: '#000000',
  },
}
SCSS
$custom: #7fa162;
$custom-light: #a5bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa162",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 98
  },
  "hsl": {
    "h": 92.381,
    "s": 25.1,
    "l": 50.784
  },
  "oklch": {
    "l": 0.6678,
    "c": 0.09586,
    "h": 131.6
  },
  "luminance": 0.30884
}

Semantic roles & 50–950 ramp

primary
#7FA162
secondary
#B1A1BD
accent
#66C298
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA162

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

Preview Lab → · Contrast checker → · Palette generator →

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