#7F985B#7F985B

#7F985B is a light, moderate yellow-green. Relative luminance 0.277; OKLCH L 64.5% C 0.090 H 126.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7F985B
RGBrgb(127, 152, 91)
HSLhsl(85, 25%, 48%)
HSVhsv(85, 40%, 60%)
CMYKcmyk(16.4%, 0%, 40.1%, 40.4%)
CIE-LABlab(59.64, -19.64, 29.24)
CIE-LCHlch(59.64, 35.22, 123.89°)
OKLaboklab(64.52% -0.0539 0.0718)
OKLCHoklch(64.52% 0.09 126.9)
XYZxyz(21.8688, 27.7236, 14.0946)
Luminance0.2772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F985B #745B98
analogous
#98925B #7F985B #60985B
triadic
#7F985B #5B7F98 #985B7F
tetradic
#7F985B #5B9892 #745B98 #985B60
square
#7F985B #5B9892 #745B98 #985B60
split-complementary
#7F985B #5B6098 #925B98
monochromatic
#3F4B2D #5F7244 #7F985B #9DB27E #BAC9A5

Accessibility & contrast

On white

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

On black

6.54
#7F985B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F985B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F985B#FFFFFF#000000##000000
##7F985B1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f985b;
/* rgb */ color: rgb(127, 152, 91);
/* oklch */ color: oklch(64.5% 0.090 126.9);
Tailwind
colors: {
  custom: {
    50: '#a5b68a',
    500: '#7f985b',
    950: '#000000',
  },
}
SCSS
$custom: #7f985b;
$custom-light: #a5b68a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f985b",
  "rgb": {
    "r": 127,
    "g": 152,
    "b": 91
  },
  "hsl": {
    "h": 84.59,
    "s": 25.103,
    "l": 47.647
  },
  "oklch": {
    "l": 0.64517,
    "c": 0.08976,
    "h": 126.9
  },
  "luminance": 0.27724
}

Semantic roles & 50–950 ramp

primary
#7F985B
secondary
#A598B7
accent
#66C28C
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7F985B

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

Preview Lab → · Contrast checker → · Palette generator →

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