#7F8564#7F8564

#7F8564 is a mid, muted yellow-green. Relative luminance 0.222; OKLCH L 60.3% C 0.048 H 116.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7F8564
RGBrgb(127, 133, 100)
HSLhsl(71, 14%, 46%)
HSVhsv(71, 25%, 52%)
CMYKcmyk(4.5%, 0%, 24.8%, 47.8%)
CIE-LABlab(54.25, -8.19, 17.10)
CIE-LCHlch(54.25, 18.96, 115.60°)
OKLaboklab(60.27% -0.0214 0.0433)
OKLCHoklch(60.27% 0.048 116.2)
XYZxyz(19.4400, 22.2073, 15.3164)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8564 #6A6485
analogous
#857A64 #7F8564 #6E8564
triadic
#7F8564 #647F85 #85647F
tetradic
#7F8564 #64857A #6A6485 #85646E
square
#7F8564 #64857A #6A6485 #85646E
split-complementary
#7F8564 #646E85 #7A6485
monochromatic
#3C3F2F #5E624A #7F8564 #9DA284 #B9BDA7

Accessibility & contrast

On white

3.86
#7F8564 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7F8564 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8564
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8564#FFFFFF#000000##000000
##7F85641.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8162
Deuteranopia (green-blind)
#898265
Tritanopia (blue-blind)
#83817C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f8564;
/* rgb */ color: rgb(127, 133, 100);
/* oklch */ color: oklch(60.3% 0.048 116.2);
Tailwind
colors: {
  custom: {
    50: '#a4a890',
    500: '#7f8564',
    950: '#000000',
  },
}
SCSS
$custom: #7f8564;
$custom-light: #a4a890;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8564",
  "rgb": {
    "r": 127,
    "g": 133,
    "b": 100
  },
  "hsl": {
    "h": 70.909,
    "s": 14.163,
    "l": 45.686
  },
  "oklch": {
    "l": 0.60265,
    "c": 0.04832,
    "h": 116.2
  },
  "luminance": 0.22207
}

Semantic roles & 50–950 ramp

primary
#7F8564
secondary
#9D99AC
accent
#71B77E
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#0F0F0C
muted
#7F7F7D

Preview Lab

Preview with #7F8564

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

Preview Lab → · Contrast checker → · Palette generator →

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