#7F9868#7F9868

#7F9868 is a light, moderate yellow-green. Relative luminance 0.280; OKLCH L 64.8% C 0.074 H 130.6°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7F9868
RGBrgb(127, 152, 104)
HSLhsl(91, 19%, 50%)
HSVhsv(91, 32%, 60%)
CMYKcmyk(16.4%, 0%, 31.6%, 40.4%)
CIE-LABlab(59.86, -17.77, 22.45)
CIE-LCHlch(59.86, 28.64, 128.37°)
OKLaboklab(64.77% -0.0482 0.0563)
OKLCHoklch(64.77% 0.074 130.6)
XYZxyz(22.4789, 27.9677, 17.3080)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9868 #816898
analogous
#979868 #7F9868 #689869
triadic
#7F9868 #687F98 #98687F
tetradic
#7F9868 #689798 #816898 #986968
square
#7F9868 #689798 #816898 #986968
split-complementary
#7F9868 #696898 #986897
monochromatic
#424F36 #61744F #7F9868 #9EB18C #BDCAB1

Accessibility & contrast

On white

3.18
#7F9868 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#7F9868 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9868
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9868#FFFFFF#000000##000000
##7F98681.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9165
Deuteranopia (green-blind)
#99906A
Tritanopia (blue-blind)
#80948B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f9868;
/* rgb */ color: rgb(127, 152, 104);
/* oklch */ color: oklch(64.8% 0.074 130.6);
Tailwind
colors: {
  custom: {
    50: '#a4b693',
    500: '#7f9868',
    950: '#000000',
  },
}
SCSS
$custom: #7f9868;
$custom-light: #a4b693;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9868",
  "rgb": {
    "r": 127,
    "g": 152,
    "b": 104
  },
  "hsl": {
    "h": 91.25,
    "s": 18.898,
    "l": 50.196
  },
  "oklch": {
    "l": 0.64767,
    "c": 0.07411,
    "h": 130.6
  },
  "luminance": 0.27968
}

Semantic roles & 50–950 ramp

primary
#7F9868
secondary
#AEA3B9
accent
#6CBC96
background
#FAFBF9
surface
#F4F6F1
border
#CED0CB
text
#0F110D
muted
#7F807E

Preview Lab

Preview with #7F9868

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

Preview Lab → · Contrast checker → · Palette generator →

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