#7FA862#7FA862

#7FA862 is a light, moderate yellow-green. Relative luminance 0.334; OKLCH L 68.5% C 0.107 H 133.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7FA862
RGBrgb(127, 168, 98)
HSLhsl(95, 29%, 52%)
HSVhsv(95, 42%, 66%)
CMYKcmyk(24.4%, 0%, 41.7%, 34.1%)
CIE-LABlab(64.48, -26.72, 31.74)
CIE-LCHlch(64.48, 41.49, 130.10°)
OKLaboklab(68.45% -0.0733 0.0778)
OKLCHoklch(68.45% 0.107 133.3)
XYZxyz(24.9591, 33.3985, 16.6845)
Luminance0.3340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA862 #8B62A8
analogous
#A2A862 #7FA862 #62A868
triadic
#7FA862 #627FA8 #A8627F
tetradic
#7FA862 #62A2A8 #8B62A8 #A86862
square
#7FA862 #62A2A8 #8B62A8 #A86862
split-complementary
#7FA862 #6862A8 #A862A2
monochromatic
#445C33 #618449 #7FA862 #9FBE89 #BFD4B1

Accessibility & contrast

On white

2.73
#7FA862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#7FA862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA862
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA862#FFFFFF#000000##000000
##7FA8621.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9F5D
Deuteranopia (green-blind)
#A79B66
Tritanopia (blue-blind)
#80A397
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa862;
/* rgb */ color: rgb(127, 168, 98);
/* oklch */ color: oklch(68.5% 0.107 133.3);
Tailwind
colors: {
  custom: {
    50: '#a5c28f',
    500: '#7fa862',
    950: '#000000',
  },
}
SCSS
$custom: #7fa862;
$custom-light: #a5c28f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa862",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 98
  },
  "hsl": {
    "h": 95.143,
    "s": 28.689,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6845,
    "c": 0.1069,
    "h": 133.3
  },
  "luminance": 0.33399
}

Semantic roles & 50–950 ramp

primary
#7FA862
secondary
#B6A4C2
accent
#63C59C
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA862

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

Preview Lab → · Contrast checker → · Palette generator →

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