#7C875E#7C875E

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

Color values

HEX#7C875E
RGBrgb(124, 135, 94)
HSLhsl(76, 18%, 45%)
HSVhsv(76, 30%, 53%)
CMYKcmyk(8.1%, 0%, 30.4%, 47.1%)
CIE-LABlab(54.47, -11.42, 20.76)
CIE-LCHlch(54.47, 23.70, 118.81°)
OKLaboklab(60.35% -0.0306 0.0521)
OKLCHoklch(60.35% 0.06 120.4)
XYZxyz(18.9964, 22.4212, 13.9145)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C875E #695E87
analogous
#877E5E #7C875E #67875E
triadic
#7C875E #5E7C87 #875E7C
tetradic
#7C875E #5E877E #695E87 #875E67
square
#7C875E #5E877E #695E87 #875E67
split-complementary
#7C875E #5E6787 #7E5E87
monochromatic
#3A3F2C #5B6345 #7C875E #9AA57D #B6BEA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C875E#FFFFFF#000000##000000
##7C875E1.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)
#8C825B
Deuteranopia (green-blind)
#8B8260
Tritanopia (blue-blind)
#80837C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7c875e;
/* rgb */ color: rgb(124, 135, 94);
/* oklch */ color: oklch(60.3% 0.060 120.4);
Tailwind
colors: {
  custom: {
    50: '#a2aa8c',
    500: '#7c875e',
    950: '#000000',
  },
}
SCSS
$custom: #7c875e;
$custom-light: #a2aa8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c875e",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 94
  },
  "hsl": {
    "h": 76.098,
    "s": 17.904,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60346,
    "c": 0.06037,
    "h": 120.4
  },
  "luminance": 0.22421
}

Semantic roles & 50–950 ramp

primary
#7C875E
secondary
#9B95AC
accent
#6DBB82
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7C875E

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

Preview Lab → · Contrast checker → · Palette generator →

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