#7FA762#7FA762

#7FA762 is a light, moderate yellow-green. Relative luminance 0.330; OKLCH L 68.2% C 0.105 H 133.1°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7FA762
RGBrgb(127, 167, 98)
HSLhsl(95, 28%, 52%)
HSVhsv(95, 41%, 65%)
CMYKcmyk(24%, 0%, 41.3%, 34.5%)
CIE-LABlab(64.19, -26.23, 31.36)
CIE-LCHlch(64.19, 40.88, 129.91°)
OKLaboklab(68.21% -0.072 0.0769)
OKLCHoklch(68.21% 0.105 133.1)
XYZxyz(24.7752, 33.0307, 16.6232)
Luminance0.3303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA762 #8A62A7
analogous
#A1A762 #7FA762 #62A768
triadic
#7FA762 #627FA7 #A7627F
tetradic
#7FA762 #62A1A7 #8A62A7 #A76862
square
#7FA762 #62A1A7 #8A62A7 #A76862
split-complementary
#7FA762 #6862A7 #A762A1
monochromatic
#445B33 #618349 #7FA762 #9FBD89 #BFD3B0

Accessibility & contrast

On white

2.76
#7FA762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#7FA762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA762
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA762#FFFFFF#000000##000000
##7FA7621.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9E5D
Deuteranopia (green-blind)
#A69A66
Tritanopia (blue-blind)
#80A296
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa762;
/* rgb */ color: rgb(127, 167, 98);
/* oklch */ color: oklch(68.2% 0.105 133.1);
Tailwind
colors: {
  custom: {
    50: '#a5c18f',
    500: '#7fa762',
    950: '#000000',
  },
}
SCSS
$custom: #7fa762;
$custom-light: #a5c18f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa762",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 98
  },
  "hsl": {
    "h": 94.783,
    "s": 28.163,
    "l": 51.961
  },
  "oklch": {
    "l": 0.68211,
    "c": 0.10533,
    "h": 133.1
  },
  "luminance": 0.33031
}

Semantic roles & 50–950 ramp

primary
#7FA762
secondary
#B5A3C2
accent
#63C49C
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA762

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

Preview Lab → · Contrast checker → · Palette generator →

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