#7F995D#7F995D

#7F995D is a light, moderate yellow-green. Relative luminance 0.281; OKLCH L 64.8% C 0.089 H 127.8°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7F995D
RGBrgb(127, 153, 93)
HSLhsl(86, 24%, 48%)
HSVhsv(86, 39%, 60%)
CMYKcmyk(17%, 0%, 39.2%, 40%)
CIE-LABlab(59.97, -19.89, 28.59)
CIE-LCHlch(59.97, 34.82, 124.83°)
OKLaboklab(64.79% -0.0545 0.0703)
OKLCHoklch(64.79% 0.089 127.8)
XYZxyz(22.1192, 28.0846, 14.6093)
Luminance0.2808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F995D #775D99
analogous
#99955D #7F995D #61995D
triadic
#7F995D #5D7F99 #995D7F
tetradic
#7F995D #5D9995 #775D99 #995D61
square
#7F995D #5D9995 #775D99 #995D61
split-complementary
#7F995D #5D6199 #955D99
monochromatic
#404D2F #5F7346 #7F995D #9DB281 #BBC9A7

Accessibility & contrast

On white

3.17
#7F995D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#7F995D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F995D
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F995D#FFFFFF#000000##000000
##7F995D1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9259
Deuteranopia (green-blind)
#9B9060
Tritanopia (blue-blind)
#82948A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f995d;
/* rgb */ color: rgb(127, 153, 93);
/* oklch */ color: oklch(64.8% 0.089 127.8);
Tailwind
colors: {
  custom: {
    50: '#a5b78b',
    500: '#7f995d',
    950: '#000000',
  },
}
SCSS
$custom: #7f995d;
$custom-light: #a5b78b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f995d",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 93
  },
  "hsl": {
    "h": 86,
    "s": 24.39,
    "l": 48.235
  },
  "oklch": {
    "l": 0.6479,
    "c": 0.08898,
    "h": 127.8
  },
  "luminance": 0.28085
}

Semantic roles & 50–950 ramp

primary
#7F995D
secondary
#A79AB8
accent
#67C18E
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7F995D

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

Preview Lab → · Contrast checker → · Palette generator →

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