#7C8762#7C8762

#7C8762 is a mid, muted yellow-green. Relative luminance 0.225; OKLCH L 60.4% C 0.055 H 121.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7C8762
RGBrgb(124, 135, 98)
HSLhsl(78, 16%, 46%)
HSVhsv(78, 27%, 53%)
CMYKcmyk(8.1%, 0%, 27.4%, 47.1%)
CIE-LABlab(54.55, -10.81, 18.61)
CIE-LCHlch(54.55, 21.52, 120.16°)
OKLaboklab(60.43% -0.0288 0.047)
OKLCHoklch(60.43% 0.055 121.5)
XYZxyz(19.1806, 22.4949, 14.8844)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8762 #6D6287
analogous
#877F62 #7C8762 #698762
triadic
#7C8762 #627C87 #87627C
tetradic
#7C8762 #62877F #6D6287 #876269
square
#7C8762 #62877F #6D6287 #876269
split-complementary
#7C8762 #626987 #7F6287
monochromatic
#3B402F #5B6448 #7C8762 #9AA482 #B7BEA5

Accessibility & contrast

On white

3.82
#7C8762 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7C8762 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8762
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8762#FFFFFF#000000##000000
##7C87621.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8360
Deuteranopia (green-blind)
#8A8364
Tritanopia (blue-blind)
#7F837D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7c8762;
/* rgb */ color: rgb(124, 135, 98);
/* oklch */ color: oklch(60.4% 0.055 121.5);
Tailwind
colors: {
  custom: {
    50: '#a2aa8f',
    500: '#7c8762',
    950: '#000000',
  },
}
SCSS
$custom: #7c8762;
$custom-light: #a2aa8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8762",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 98
  },
  "hsl": {
    "h": 77.838,
    "s": 15.88,
    "l": 45.686
  },
  "oklch": {
    "l": 0.60433,
    "c": 0.05508,
    "h": 121.5
  },
  "luminance": 0.22495
}

Semantic roles & 50–950 ramp

primary
#7C8762
secondary
#9E98AD
accent
#6FB985
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7C8762

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

Preview Lab → · Contrast checker → · Palette generator →

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