#7FA46C#7FA46C

#7FA46C is a light, moderate yellow-green. Relative luminance 0.321; OKLCH L 67.7% C 0.089 H 135.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7FA46C
RGBrgb(127, 164, 108)
HSLhsl(100, 24%, 53%)
HSVhsv(100, 34%, 64%)
CMYKcmyk(22.6%, 0%, 34.1%, 35.7%)
CIE-LABlab(63.46, -23.29, 25.07)
CIE-LCHlch(63.46, 34.22, 132.89°)
OKLaboklab(67.68% -0.0635 0.0626)
OKLCHoklch(67.68% 0.089 135.4)
XYZxyz(24.7340, 32.1451, 19.0859)
Luminance0.3215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA46C #916CA4
analogous
#9BA46C #7FA46C #6CA475
triadic
#7FA46C #6C7FA4 #A46C7F
tetradic
#7FA46C #6C9BA4 #916CA4 #A4756C
square
#7FA46C #6C9BA4 #916CA4 #A4756C
split-complementary
#7FA46C #756CA4 #A46C9B
monochromatic
#455C39 #618251 #7FA46C #A0BB92 #C1D3B8

Accessibility & contrast

On white

2.83
#7FA46C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#7FA46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA46C
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA46C#FFFFFF#000000##000000
##7FA46C1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89C68
Deuteranopia (green-blind)
#A2986F
Tritanopia (blue-blind)
#7FA096
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa46c;
/* rgb */ color: rgb(127, 164, 108);
/* oklch */ color: oklch(67.7% 0.089 135.4);
Tailwind
colors: {
  custom: {
    50: '#a5bf96',
    500: '#7fa46c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa46c;
$custom-light: #a5bf96;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa46c",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 108
  },
  "hsl": {
    "h": 99.643,
    "s": 23.529,
    "l": 53.333
  },
  "oklch": {
    "l": 0.67682,
    "c": 0.08916,
    "h": 135.4
  },
  "luminance": 0.32146
}

Semantic roles & 50–950 ramp

primary
#7FA46C
secondary
#BAAAC2
accent
#68C0A2
background
#FAFBF9
surface
#F4F7F2
border
#CED0CC
text
#0F120D
muted
#7F817E

Preview Lab

Preview with #7FA46C

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

Preview Lab → · Contrast checker → · Palette generator →

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