#7F985D#7F985D

#7F985D is a light, moderate yellow-green. Relative luminance 0.278; OKLCH L 64.6% C 0.087 H 127.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7F985D
RGBrgb(127, 152, 93)
HSLhsl(85, 24%, 48%)
HSVhsv(85, 39%, 60%)
CMYKcmyk(16.4%, 0%, 38.8%, 40.4%)
CIE-LABlab(59.67, -19.37, 28.20)
CIE-LCHlch(59.67, 34.22, 124.48°)
OKLaboklab(64.55% -0.0531 0.0695)
OKLCHoklch(64.55% 0.087 127.4)
XYZxyz(21.9562, 27.7586, 14.5550)
Luminance0.2776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F985D #765D98
analogous
#98935D #7F985D #61985D
triadic
#7F985D #5D7F98 #985D7F
tetradic
#7F985D #5D9893 #765D98 #985D61
square
#7F985D #5D9893 #765D98 #985D61
split-complementary
#7F985D #5D6198 #935D98
monochromatic
#404C2F #5F7246 #7F985D #9DB281 #BAC9A7

Accessibility & contrast

On white

3.21
#7F985D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#7F985D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F985D
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F985D#FFFFFF#000000##000000
##7F985D1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9159
Deuteranopia (green-blind)
#9A8F60
Tritanopia (blue-blind)
#829389
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f985d;
/* rgb */ color: rgb(127, 152, 93);
/* oklch */ color: oklch(64.6% 0.087 127.4);
Tailwind
colors: {
  custom: {
    50: '#a5b68b',
    500: '#7f985d',
    950: '#000000',
  },
}
SCSS
$custom: #7f985d;
$custom-light: #a5b68b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f985d",
  "rgb": {
    "r": 127,
    "g": 152,
    "b": 93
  },
  "hsl": {
    "h": 85.424,
    "s": 24.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.64553,
    "c": 0.08741,
    "h": 127.4
  },
  "luminance": 0.27759
}

Semantic roles & 50–950 ramp

primary
#7F985D
secondary
#A69AB7
accent
#67C18D
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7F985D

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

Preview Lab → · Contrast checker → · Palette generator →

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