#7C875B#7C875B

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

Color values

HEX#7C875B
RGBrgb(124, 135, 91)
HSLhsl(75, 19%, 44%)
HSVhsv(75, 33%, 53%)
CMYKcmyk(8.1%, 0%, 32.6%, 47.1%)
CIE-LABlab(54.42, -11.86, 22.37)
CIE-LCHlch(54.42, 25.32, 117.93°)
OKLaboklab(60.28% -0.0319 0.0558)
OKLCHoklch(60.28% 0.064 119.8)
XYZxyz(18.8644, 22.3684, 13.2192)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C875B #665B87
analogous
#877C5B #7C875B #66875B
triadic
#7C875B #5B7C87 #875B7C
tetradic
#7C875B #5B877C #665B87 #875B66
square
#7C875B #5B877C #665B87 #875B66
split-complementary
#7C875B #5B6687 #7C5B87
monochromatic
#393E2A #5A6242 #7C875B #9AA57A #B6BE9E

Accessibility & contrast

On white

3.84
#7C875B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7C875B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C875B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C875B#FFFFFF#000000##000000
##7C875B1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c875b;
/* rgb */ color: rgb(124, 135, 91);
/* oklch */ color: oklch(60.3% 0.064 119.8);
Tailwind
colors: {
  custom: {
    50: '#a2aa8a',
    500: '#7c875b',
    950: '#000000',
  },
}
SCSS
$custom: #7c875b;
$custom-light: #a2aa8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c875b",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 91
  },
  "hsl": {
    "h": 75,
    "s": 19.469,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.06428,
    "h": 119.8
  },
  "luminance": 0.22368
}

Semantic roles & 50–950 ramp

primary
#7C875B
secondary
#9892AC
accent
#6CBC80
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C875B

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

Preview Lab → · Contrast checker → · Palette generator →

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