#7C895B#7C895B

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

Color values

HEX#7C895B
RGBrgb(124, 137, 91)
HSLhsl(77, 20%, 45%)
HSVhsv(77, 34%, 54%)
CMYKcmyk(9.5%, 0%, 33.6%, 46.3%)
CIE-LABlab(55.00, -12.94, 23.15)
CIE-LCHlch(55.00, 26.52, 119.21°)
OKLaboklab(60.75% -0.035 0.0576)
OKLCHoklch(60.75% 0.067 121.3)
XYZxyz(19.1461, 22.9317, 13.3131)
Luminance0.2293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C895B #685B89
analogous
#897F5B #7C895B #65895B
triadic
#7C895B #5B7C89 #895B7C
tetradic
#7C895B #5B897F #685B89 #895B65
square
#7C895B #5B897F #685B89 #895B65
split-complementary
#7C895B #5B6589 #7F5B89
monochromatic
#393F2A #5B6443 #7C895B #9AA77A #B6BF9F

Accessibility & contrast

On white

3.76
#7C895B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C895B#FFFFFF#000000##000000
##7C895B1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8458
Deuteranopia (green-blind)
#8D845D
Tritanopia (blue-blind)
#80847D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c895b;
/* rgb */ color: rgb(124, 137, 91);
/* oklch */ color: oklch(60.8% 0.067 121.3);
Tailwind
colors: {
  custom: {
    50: '#a2ab8a',
    500: '#7c895b',
    950: '#000000',
  },
}
SCSS
$custom: #7c895b;
$custom-light: #a2ab8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c895b",
  "rgb": {
    "r": 124,
    "g": 137,
    "b": 91
  },
  "hsl": {
    "h": 76.957,
    "s": 20.175,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60751,
    "c": 0.06742,
    "h": 121.3
  },
  "luminance": 0.22932
}

Semantic roles & 50–950 ramp

primary
#7C895B
secondary
#9A92AD
accent
#6BBD82
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C895B

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

Preview Lab → · Contrast checker → · Palette generator →

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