#7FA768#7FA768

#7FA768 is a light, moderate yellow-green. Relative luminance 0.331; OKLCH L 68.3% C 0.099 H 134.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7FA768
RGBrgb(127, 167, 104)
HSLhsl(98, 26%, 53%)
HSVhsv(98, 38%, 65%)
CMYKcmyk(24%, 0%, 37.7%, 34.5%)
CIE-LABlab(64.28, -25.38, 28.30)
CIE-LCHlch(64.28, 38.02, 131.89°)
OKLaboklab(68.32% -0.0694 0.0701)
OKLCHoklch(68.32% 0.099 134.7)
XYZxyz(25.0692, 33.1483, 18.1715)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA768 #9068A7
analogous
#9EA768 #7FA768 #68A770
triadic
#7FA768 #687FA7 #A7687F
tetradic
#7FA768 #689EA7 #9068A7 #A77068
square
#7FA768 #689EA7 #9068A7 #A77068
split-complementary
#7FA768 #7068A7 #A7689E
monochromatic
#455E37 #61854D #7FA768 #A0BE8F #C1D4B5

Accessibility & contrast

On white

2.75
#7FA768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#7FA768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA768
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA768#FFFFFF#000000##000000
##7FA7681.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9E64
Deuteranopia (green-blind)
#A69B6B
Tritanopia (blue-blind)
#7FA297
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa768;
/* rgb */ color: rgb(127, 167, 104);
/* oklch */ color: oklch(68.3% 0.099 134.7);
Tailwind
colors: {
  custom: {
    50: '#a5c194',
    500: '#7fa768',
    950: '#000000',
  },
}
SCSS
$custom: #7fa768;
$custom-light: #a5c194;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa768",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 104
  },
  "hsl": {
    "h": 98.095,
    "s": 26.36,
    "l": 53.137
  },
  "oklch": {
    "l": 0.68319,
    "c": 0.0986,
    "h": 134.7
  },
  "luminance": 0.33149
}

Semantic roles & 50–950 ramp

primary
#7FA768
secondary
#B9A8C3
accent
#65C3A1
background
#FAFBF9
surface
#F4F7F1
border
#CED0CB
text
#0F120D
muted
#7F817E

Preview Lab

Preview with #7FA768

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

Preview Lab → · Contrast checker → · Palette generator →

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