#7F8A4E#7F8A4E

#7F8A4E is a mid, moderate yellow-green. Relative luminance 0.232; OKLCH L 61.0% C 0.084 H 117.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7F8A4E
RGBrgb(127, 138, 78)
HSLhsl(71, 28%, 42%)
HSVhsv(71, 43%, 54%)
CMYKcmyk(8%, 0%, 43.5%, 45.9%)
CIE-LABlab(55.32, -13.95, 30.73)
CIE-LCHlch(55.32, 33.74, 114.41°)
OKLaboklab(60.99% -0.0387 0.0745)
OKLCHoklch(60.99% 0.084 117.5)
XYZxyz(19.2161, 23.2392, 10.6795)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8A4E #594E8A
analogous
#8A774E #7F8A4E #618A4E
triadic
#7F8A4E #4E7F8A #8A4E7F
tetradic
#7F8A4E #4E8A77 #594E8A #8A4E61
square
#7F8A4E #4E8A77 #594E8A #8A4E61
split-complementary
#7F8A4E #4E618A #774E8A
monochromatic
#373C22 #5B6338 #7F8A4E #9FAB6A #B8C191

Accessibility & contrast

On white

3.72
#7F8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#7F8A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8A4E
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8A4E#FFFFFF#000000##000000
##7F8A4E1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918449
Deuteranopia (green-blind)
#908551
Tritanopia (blue-blind)
#85847C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7f8a4e;
/* rgb */ color: rgb(127, 138, 78);
/* oklch */ color: oklch(61.0% 0.084 117.5);
Tailwind
colors: {
  custom: {
    50: '#a5ac80',
    500: '#7f8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #7f8a4e;
$custom-light: #a5ac80;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8a4e",
  "rgb": {
    "r": 127,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 71,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.60993,
    "c": 0.08397,
    "h": 117.5
  },
  "luminance": 0.23239
}

Semantic roles & 50–950 ramp

primary
#7F8A4E
secondary
#8D86AE
accent
#64C475
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7F8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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