#7C8562#7C8562

#7C8562 is a mid, muted yellow-green. Relative luminance 0.219; OKLCH L 60.0% C 0.052 H 119.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7C8562
RGBrgb(124, 133, 98)
HSLhsl(75, 15%, 45%)
HSVhsv(75, 26%, 52%)
CMYKcmyk(6.8%, 0%, 26.3%, 47.8%)
CIE-LABlab(53.97, -9.71, 17.82)
CIE-LCHlch(53.97, 20.29, 118.60°)
OKLaboklab(59.97% -0.0257 0.0451)
OKLCHoklch(59.97% 0.052 119.7)
XYZxyz(18.9041, 21.9420, 14.7922)
Luminance0.2194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8562 #6B6285
analogous
#857D62 #7C8562 #6A8562
triadic
#7C8562 #627C85 #85627C
tetradic
#7C8562 #62857D #6B6285 #85626A
square
#7C8562 #62857D #6B6285 #85626A
split-complementary
#7C8562 #626A85 #7D6285
monochromatic
#3A3F2E #5B6248 #7C8562 #9AA382 #B6BDA5

Accessibility & contrast

On white

3.90
#7C8562 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7C8562 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8562
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8562#FFFFFF#000000##000000
##7C85621.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8160
Deuteranopia (green-blind)
#888163
Tritanopia (blue-blind)
#7F817C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7c8562;
/* rgb */ color: rgb(124, 133, 98);
/* oklch */ color: oklch(60.0% 0.052 119.7);
Tailwind
colors: {
  custom: {
    50: '#a2a88f',
    500: '#7c8562',
    950: '#000000',
  },
}
SCSS
$custom: #7c8562;
$custom-light: #a2a88f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8562",
  "rgb": {
    "r": 124,
    "g": 133,
    "b": 98
  },
  "hsl": {
    "h": 75.429,
    "s": 15.152,
    "l": 45.294
  },
  "oklch": {
    "l": 0.59969,
    "c": 0.05186,
    "h": 119.7
  },
  "luminance": 0.21942
}

Semantic roles & 50–950 ramp

primary
#7C8562
secondary
#9D97AB
accent
#70B882
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F0F0C
muted
#7F7F7D

Preview Lab

Preview with #7C8562

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

Preview Lab → · Contrast checker → · Palette generator →

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