#7C8E5C#7C8E5C

#7C8E5C is a mid, moderate yellow-green. Relative luminance 0.244; OKLCH L 61.9% C 0.074 H 124.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7C8E5C
RGBrgb(124, 142, 92)
HSLhsl(82, 21%, 46%)
HSVhsv(82, 35%, 56%)
CMYKcmyk(12.7%, 0%, 35.2%, 44.3%)
CIE-LABlab(56.49, -15.47, 24.56)
CIE-LCHlch(56.49, 29.03, 122.21°)
OKLaboklab(61.94% -0.0421 0.061)
OKLCHoklch(61.94% 0.074 124.6)
XYZxyz(19.9168, 24.4037, 13.7843)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E5C #6E5C8E
analogous
#8E875C #7C8E5C #638E5C
triadic
#7C8E5C #5C7C8E #8E5C7C
tetradic
#7C8E5C #5C8E87 #6E5C8E #8E5C63
square
#7C8E5C #5C8E87 #6E5C8E #8E5C63
split-complementary
#7C8E5C #5C638E #875C8E
monochromatic
#3B442C #5C6944 #7C8E5C #9AAB7D #B7C3A2

Accessibility & contrast

On white

3.57
#7C8E5C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7C8E5C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8E5C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8E5C#FFFFFF#000000##000000
##7C8E5C1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938859
Deuteranopia (green-blind)
#91875E
Tritanopia (blue-blind)
#7F8981
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8e5c;
/* rgb */ color: rgb(124, 142, 92);
/* oklch */ color: oklch(61.9% 0.074 124.6);
Tailwind
colors: {
  custom: {
    50: '#a2af8a',
    500: '#7c8e5c',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e5c;
$custom-light: #a2af8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e5c",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 92
  },
  "hsl": {
    "h": 81.6,
    "s": 21.368,
    "l": 45.882
  },
  "oklch": {
    "l": 0.61945,
    "c": 0.07407,
    "h": 124.6
  },
  "luminance": 0.24404
}

Semantic roles & 50–950 ramp

primary
#7C8E5C
secondary
#9F95B1
accent
#6ABE88
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7C8E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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