#7C8A62#7C8A62

#7C8A62 is a mid, muted yellow-green. Relative luminance 0.233; OKLCH L 61.1% C 0.060 H 123.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7C8A62
RGBrgb(124, 138, 98)
HSLhsl(81, 17%, 46%)
HSVhsv(81, 29%, 54%)
CMYKcmyk(10.1%, 0%, 29%, 45.9%)
CIE-LABlab(55.42, -12.44, 19.79)
CIE-LCHlch(55.42, 23.38, 122.15°)
OKLaboklab(61.13% -0.0334 0.0498)
OKLCHoklch(61.13% 0.06 123.8)
XYZxyz(19.6050, 23.3438, 15.0259)
Luminance0.2334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A62 #70628A
analogous
#8A8462 #7C8A62 #688A62
triadic
#7C8A62 #627C8A #8A627C
tetradic
#7C8A62 #628A84 #70628A #8A6268
square
#7C8A62 #628A84 #70628A #8A6268
split-complementary
#7C8A62 #62688A #84628A
monochromatic
#3C422F #5C6649 #7C8A62 #9AA783 #B7C0A6

Accessibility & contrast

On white

3.70
#7C8A62 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#7C8A62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A62
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A62#FFFFFF#000000##000000
##7C8A621.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F855F
Deuteranopia (green-blind)
#8D8564
Tritanopia (blue-blind)
#7F867F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8a62;
/* rgb */ color: rgb(124, 138, 98);
/* oklch */ color: oklch(61.1% 0.060 123.8);
Tailwind
colors: {
  custom: {
    50: '#a2ac8f',
    500: '#7c8a62',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a62;
$custom-light: #a2ac8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a62",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 98
  },
  "hsl": {
    "h": 81,
    "s": 16.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.61131,
    "c": 0.05995,
    "h": 123.8
  },
  "luminance": 0.23344
}

Semantic roles & 50–950 ramp

primary
#7C8A62
secondary
#A199AF
accent
#6EBA89
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7C8A62

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

Preview Lab → · Contrast checker → · Palette generator →

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