#7F995A#7F995A

#7F995A is a light, moderate yellow-green. Relative luminance 0.280; OKLCH L 64.7% C 0.092 H 127.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7F995A
RGBrgb(127, 153, 90)
HSLhsl(85, 26%, 48%)
HSVhsv(85, 41%, 60%)
CMYKcmyk(17%, 0%, 41.2%, 40%)
CIE-LABlab(59.92, -20.29, 30.13)
CIE-LCHlch(59.92, 36.33, 123.95°)
OKLaboklab(64.74% -0.0558 0.0738)
OKLCHoklch(64.74% 0.092 127.1)
XYZxyz(21.9889, 28.0324, 13.9232)
Luminance0.2803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F995A #745A99
analogous
#99935A #7F995A #5F995A
triadic
#7F995A #5A7F99 #995A7F
tetradic
#7F995A #5A9993 #745A99 #995A5F
square
#7F995A #5A9993 #745A99 #995A5F
split-complementary
#7F995A #5A5F99 #935A99
monochromatic
#3F4C2D #5F7243 #7F995A #9DB37D #BAC9A4

Accessibility & contrast

On white

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

On black

6.61
#7F995A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F995A
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F995A#FFFFFF#000000##000000
##7F995A1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f995a;
/* rgb */ color: rgb(127, 153, 90);
/* oklch */ color: oklch(64.7% 0.092 127.1);
Tailwind
colors: {
  custom: {
    50: '#a5b789',
    500: '#7f995a',
    950: '#000000',
  },
}
SCSS
$custom: #7f995a;
$custom-light: #a5b789;
$custom-dark: #000000;
JSON
{
  "hex": "#7f995a",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 90
  },
  "hsl": {
    "h": 84.762,
    "s": 25.926,
    "l": 47.647
  },
  "oklch": {
    "l": 0.64737,
    "c": 0.09249,
    "h": 127.1
  },
  "luminance": 0.28033
}

Semantic roles & 50–950 ramp

primary
#7F995A
secondary
#A598B7
accent
#65C28C
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #7F995A

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

Preview Lab → · Contrast checker → · Palette generator →

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