#7C895D#7C895D

#7C895D is a mid, moderate yellow-green. Relative luminance 0.230; OKLCH L 60.8% C 0.065 H 121.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7C895D
RGBrgb(124, 137, 93)
HSLhsl(78, 19%, 45%)
HSVhsv(78, 32%, 54%)
CMYKcmyk(9.5%, 0%, 32.1%, 46.3%)
CIE-LABlab(55.04, -12.65, 22.08)
CIE-LCHlch(55.04, 25.45, 119.81°)
OKLaboklab(60.79% -0.0341 0.0552)
OKLCHoklch(60.79% 0.065 121.7)
XYZxyz(19.2335, 22.9667, 13.7736)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C895D #6A5D89
analogous
#89805D #7C895D #66895D
triadic
#7C895D #5D7C89 #895D7C
tetradic
#7C895D #5D8980 #6A5D89 #895D66
square
#7C895D #5D8980 #6A5D89 #895D66
split-complementary
#7C895D #5D6689 #805D89
monochromatic
#3A402C #5B6544 #7C895D #9AA77D #B6BFA1

Accessibility & contrast

On white

3.75
#7C895D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7C895D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C895D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C895D#FFFFFF#000000##000000
##7C895D1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E845A
Deuteranopia (green-blind)
#8D845F
Tritanopia (blue-blind)
#80857E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c895d;
/* rgb */ color: rgb(124, 137, 93);
/* oklch */ color: oklch(60.8% 0.065 121.7);
Tailwind
colors: {
  custom: {
    50: '#a2ab8b',
    500: '#7c895d',
    950: '#000000',
  },
}
SCSS
$custom: #7c895d;
$custom-light: #a2ab8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c895d",
  "rgb": {
    "r": 124,
    "g": 137,
    "b": 93
  },
  "hsl": {
    "h": 77.727,
    "s": 19.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60792,
    "c": 0.06484,
    "h": 121.7
  },
  "luminance": 0.22967
}

Semantic roles & 50–950 ramp

primary
#7C895D
secondary
#9C94AE
accent
#6CBC84
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7C895D

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

Preview Lab → · Contrast checker → · Palette generator →

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