#7FA366#7FA366

#7FA366 is a light, moderate yellow-green. Relative luminance 0.317; OKLCH L 67.3% C 0.094 H 133.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7FA366
RGBrgb(127, 163, 102)
HSLhsl(95, 25%, 52%)
HSVhsv(95, 37%, 64%)
CMYKcmyk(22.1%, 0%, 37.4%, 36.1%)
CIE-LABlab(63.07, -23.69, 27.78)
CIE-LCHlch(63.07, 36.51, 130.45°)
OKLaboklab(67.33% -0.0647 0.0688)
OKLCHoklch(67.33% 0.094 133.3)
XYZxyz(24.2474, 31.6652, 17.4023)
Luminance0.3167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA366 #8A66A3
analogous
#9EA366 #7FA366 #66A36C
triadic
#7FA366 #667FA3 #A3667F
tetradic
#7FA366 #669EA3 #8A66A3 #A36C66
square
#7FA366 #669EA3 #8A66A3 #A36C66
split-complementary
#7FA366 #6C66A3 #A3669E
monochromatic
#445936 #617F4D #7FA366 #9FBA8C #BFD1B2

Accessibility & contrast

On white

2.86
#7FA366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#7FA366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA366
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA366#FFFFFF#000000##000000
##7FA3661.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89B62
Deuteranopia (green-blind)
#A29869
Tritanopia (blue-blind)
#809E94
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa366;
/* rgb */ color: rgb(127, 163, 102);
/* oklch */ color: oklch(67.3% 0.094 133.3);
Tailwind
colors: {
  custom: {
    50: '#a5be92',
    500: '#7fa366',
    950: '#000000',
  },
}
SCSS
$custom: #7fa366;
$custom-light: #a5be92;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa366",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 102
  },
  "hsl": {
    "h": 95.41,
    "s": 24.898,
    "l": 51.961
  },
  "oklch": {
    "l": 0.67329,
    "c": 0.09446,
    "h": 133.3
  },
  "luminance": 0.31666
}

Semantic roles & 50–950 ramp

primary
#7FA366
secondary
#B5A5C0
accent
#66C19C
background
#FAFBF9
surface
#F4F6F1
border
#CED0CB
text
#0F120D
muted
#7F817E

Preview Lab

Preview with #7FA366

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

Preview Lab → · Contrast checker → · Palette generator →

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