#7C875C#7C875C

#7C875C is a mid, moderate yellow-green. Relative luminance 0.224; OKLCH L 60.3% C 0.063 H 120.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7C875C
RGBrgb(124, 135, 92)
HSLhsl(75, 19%, 45%)
HSVhsv(75, 32%, 53%)
CMYKcmyk(8.1%, 0%, 31.9%, 47.1%)
CIE-LABlab(54.43, -11.71, 21.84)
CIE-LCHlch(54.43, 24.78, 118.21°)
OKLaboklab(60.3% -0.0315 0.0546)
OKLCHoklch(60.3% 0.063 120)
XYZxyz(18.9078, 22.3858, 13.4479)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C875C #675C87
analogous
#877D5C #7C875C #67875C
triadic
#7C875C #5C7C87 #875C7C
tetradic
#7C875C #5C877D #675C87 #875C67
square
#7C875C #5C877D #675C87 #875C67
split-complementary
#7C875C #5C6787 #7D5C87
monochromatic
#393E2A #5B6343 #7C875C #9AA57B #B6BE9F

Accessibility & contrast

On white

3.83
#7C875C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7C875C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C875C
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C875C#FFFFFF#000000##000000
##7C875C1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8259
Deuteranopia (green-blind)
#8B825E
Tritanopia (blue-blind)
#80837C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7c875c;
/* rgb */ color: rgb(124, 135, 92);
/* oklch */ color: oklch(60.3% 0.063 120.0);
Tailwind
colors: {
  custom: {
    50: '#a2aa8a',
    500: '#7c875c',
    950: '#000000',
  },
}
SCSS
$custom: #7c875c;
$custom-light: #a2aa8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c875c",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 92
  },
  "hsl": {
    "h": 75.349,
    "s": 18.943,
    "l": 44.51
  },
  "oklch": {
    "l": 0.60304,
    "c": 0.06298,
    "h": 120
  },
  "luminance": 0.22386
}

Semantic roles & 50–950 ramp

primary
#7C875C
secondary
#9993AC
accent
#6CBC81
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7C875C

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

Preview Lab → · Contrast checker → · Palette generator →

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