#7C895C#7C895C

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

Color values

HEX#7C895C
RGBrgb(124, 137, 92)
HSLhsl(77, 20%, 45%)
HSVhsv(77, 33%, 54%)
CMYKcmyk(9.5%, 0%, 32.8%, 46.3%)
CIE-LABlab(55.02, -12.80, 22.62)
CIE-LCHlch(55.02, 25.99, 119.50°)
OKLaboklab(60.77% -0.0345 0.0564)
OKLCHoklch(60.77% 0.066 121.5)
XYZxyz(19.1895, 22.9491, 13.5418)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C895C #695C89
analogous
#89805C #7C895C #66895C
triadic
#7C895C #5C7C89 #895C7C
tetradic
#7C895C #5C8980 #695C89 #895C66
square
#7C895C #5C8980 #695C89 #895C66
split-complementary
#7C895C #5C6689 #805C89
monochromatic
#3A402B #5B6443 #7C895C #9AA77C #B6BFA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C895C#FFFFFF#000000##000000
##7C895C1.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)
#8E8459
Deuteranopia (green-blind)
#8D845E
Tritanopia (blue-blind)
#80857D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c895c;
/* rgb */ color: rgb(124, 137, 92);
/* oklch */ color: oklch(60.8% 0.066 121.5);
Tailwind
colors: {
  custom: {
    50: '#a2ab8a',
    500: '#7c895c',
    950: '#000000',
  },
}
SCSS
$custom: #7c895c;
$custom-light: #a2ab8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c895c",
  "rgb": {
    "r": 124,
    "g": 137,
    "b": 92
  },
  "hsl": {
    "h": 77.333,
    "s": 19.651,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60771,
    "c": 0.06614,
    "h": 121.5
  },
  "luminance": 0.22949
}

Semantic roles & 50–950 ramp

primary
#7C895C
secondary
#9B93AD
accent
#6CBC83
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7C895C

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

Preview Lab → · Contrast checker → · Palette generator →

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