#7C875F#7C875F

#7C875F is a mid, muted yellow-green. Relative luminance 0.224; OKLCH L 60.4% C 0.059 H 120.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7C875F
RGBrgb(124, 135, 95)
HSLhsl(77, 17%, 45%)
HSVhsv(77, 30%, 53%)
CMYKcmyk(8.1%, 0%, 29.6%, 47.1%)
CIE-LABlab(54.49, -11.27, 20.22)
CIE-LCHlch(54.49, 23.15, 119.13°)
OKLaboklab(60.37% -0.0301 0.0508)
OKLCHoklch(60.37% 0.059 120.7)
XYZxyz(19.0416, 22.4393, 14.1523)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C875F #6A5F87
analogous
#877E5F #7C875F #68875F
triadic
#7C875F #5F7C87 #875F7C
tetradic
#7C875F #5F877E #6A5F87 #875F68
square
#7C875F #5F877E #6A5F87 #875F68
split-complementary
#7C875F #5F6887 #7E5F87
monochromatic
#3A3F2C #5B6346 #7C875F #9AA57F #B6BEA2

Accessibility & contrast

On white

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

On black

5.49
#7C875F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C875F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C875F#FFFFFF#000000##000000
##7C875F1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C825C
Deuteranopia (green-blind)
#8B8261
Tritanopia (blue-blind)
#7F837C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7c875f;
/* rgb */ color: rgb(124, 135, 95);
/* oklch */ color: oklch(60.4% 0.059 120.7);
Tailwind
colors: {
  custom: {
    50: '#a2aa8c',
    500: '#7c875f',
    950: '#000000',
  },
}
SCSS
$custom: #7c875f;
$custom-light: #a2aa8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c875f",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 76.5,
    "s": 17.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60367,
    "c": 0.05905,
    "h": 120.7
  },
  "luminance": 0.22439
}

Semantic roles & 50–950 ramp

primary
#7C875F
secondary
#9C95AC
accent
#6EBA83
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7C875F

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

Preview Lab → · Contrast checker → · Palette generator →

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