#7A8A4F#7A8A4F

#7A8A4F is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.6% C 0.084 H 121.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7A8A4F
RGBrgb(122, 138, 79)
HSLhsl(76, 27%, 43%)
HSVhsv(76, 43%, 54%)
CMYKcmyk(11.6%, 0%, 42.8%, 45.9%)
CIE-LABlab(54.95, -15.91, 29.64)
CIE-LCHlch(54.95, 33.64, 118.22°)
OKLaboklab(60.61% -0.044 0.0721)
OKLCHoklch(60.61% 0.084 121.4)
XYZxyz(18.5258, 22.8791, 10.8357)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A4F #5F4F8A
analogous
#8A7C4F #7A8A4F #5D8A4F
triadic
#7A8A4F #4F7A8A #8A4F7A
tetradic
#7A8A4F #4F8A7C #5F4F8A #8A4F5D
square
#7A8A4F #4F8A7C #5F4F8A #8A4F5D
split-complementary
#7A8A4F #4F5D8A #7C4F8A
monochromatic
#353C22 #586339 #7A8A4F #9AAB6C #B4C193

Accessibility & contrast

On white

3.77
#7A8A4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7A8A4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A4F
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A4F#FFFFFF#000000##000000
##7A8A4F1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91844A
Deuteranopia (green-blind)
#8E8452
Tritanopia (blue-blind)
#7F857C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7a8a4f;
/* rgb */ color: rgb(122, 138, 79);
/* oklch */ color: oklch(60.6% 0.084 121.4);
Tailwind
colors: {
  custom: {
    50: '#a1ac81',
    500: '#7a8a4f',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a4f;
$custom-light: #a1ac81;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a4f",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 79
  },
  "hsl": {
    "h": 76.271,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60605,
    "c": 0.08448,
    "h": 121.4
  },
  "luminance": 0.22879
}

Semantic roles & 50–950 ramp

primary
#7A8A4F
secondary
#9287AE
accent
#64C47E
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7A8A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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