#7C8D56#7C8D56

#7C8D56 is a mid, moderate yellow-green. Relative luminance 0.240; OKLCH L 61.6% C 0.080 H 122.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7C8D56
RGBrgb(124, 141, 86)
HSLhsl(79, 24%, 45%)
HSVhsv(79, 39%, 55%)
CMYKcmyk(12.1%, 0%, 39%, 44.7%)
CIE-LABlab(56.09, -15.77, 27.34)
CIE-LCHlch(56.09, 31.56, 119.98°)
OKLaboklab(61.6% -0.0432 0.0672)
OKLCHoklch(61.6% 0.08 122.7)
XYZxyz(19.5167, 24.0067, 12.4079)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D56 #67568D
analogous
#8D8356 #7C8D56 #618D56
triadic
#7C8D56 #567C8D #8D567C
tetradic
#7C8D56 #568D83 #67568D #8D5661
square
#7C8D56 #568D83 #67568D #8D5661
split-complementary
#7C8D56 #56618D #83568D
monochromatic
#394128 #5B673F #7C8D56 #9AAB75 #B6C29B

Accessibility & contrast

On white

3.62
#7C8D56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#7C8D56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D56
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D56#FFFFFF#000000##000000
##7C8D561.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938752
Deuteranopia (green-blind)
#918659
Tritanopia (blue-blind)
#80887F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8d56;
/* rgb */ color: rgb(124, 141, 86);
/* oklch */ color: oklch(61.6% 0.080 122.7);
Tailwind
colors: {
  custom: {
    50: '#a3ae86',
    500: '#7c8d56',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d56;
$custom-light: #a3ae86;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d56",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 86
  },
  "hsl": {
    "h": 78.545,
    "s": 24.229,
    "l": 44.51
  },
  "oklch": {
    "l": 0.61596,
    "c": 0.07989,
    "h": 122.7
  },
  "luminance": 0.24007
}

Semantic roles & 50–950 ramp

primary
#7C8D56
secondary
#998FB0
accent
#67C183
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8D56

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

Preview Lab → · Contrast checker → · Palette generator →

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