#7C8F56#7C8F56

#7C8F56 is a light, moderate yellow-green. Relative luminance 0.246; OKLCH L 62.1% C 0.083 H 123.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7C8F56
RGBrgb(124, 143, 86)
HSLhsl(80, 25%, 45%)
HSVhsv(80, 40%, 56%)
CMYKcmyk(13.3%, 0%, 39.9%, 43.9%)
CIE-LABlab(56.69, -16.83, 28.10)
CIE-LCHlch(56.69, 32.75, 120.92°)
OKLaboklab(62.07% -0.0462 0.069)
OKLCHoklch(62.07% 0.083 123.8)
XYZxyz(19.8143, 24.6018, 12.5071)
Luminance0.2460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F56 #69568F
analogous
#8F8656 #7C8F56 #5F8F56
triadic
#7C8F56 #567C8F #8F567C
tetradic
#7C8F56 #568F86 #69568F #8F565F
square
#7C8F56 #568F86 #69568F #8F565F
split-complementary
#7C8F56 #565F8F #86568F
monochromatic
#3A4328 #5B693F #7C8F56 #9AAC76 #B6C39C

Accessibility & contrast

On white

3.55
#7C8F56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#7C8F56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F56
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F56#FFFFFF#000000##000000
##7C8F561.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958952
Deuteranopia (green-blind)
#928859
Tritanopia (blue-blind)
#808A81
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7c8f56;
/* rgb */ color: rgb(124, 143, 86);
/* oklch */ color: oklch(62.1% 0.083 123.8);
Tailwind
colors: {
  custom: {
    50: '#a3af86',
    500: '#7c8f56',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f56;
$custom-light: #a3af86;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f56",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 86
  },
  "hsl": {
    "h": 80,
    "s": 24.891,
    "l": 44.902
  },
  "oklch": {
    "l": 0.62069,
    "c": 0.08299,
    "h": 123.8
  },
  "luminance": 0.24602
}

Semantic roles & 50–950 ramp

primary
#7C8F56
secondary
#9B90B1
accent
#66C185
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8F56

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

Preview Lab → · Contrast checker → · Palette generator →

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