#7C8956#7C8956

#7C8956 is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.7% C 0.074 H 120.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7C8956
RGBrgb(124, 137, 86)
HSLhsl(75, 23%, 44%)
HSVhsv(75, 37%, 54%)
CMYKcmyk(9.5%, 0%, 37.2%, 46.3%)
CIE-LABlab(54.92, -13.64, 25.81)
CIE-LCHlch(54.92, 29.19, 117.85°)
OKLaboklab(60.65% -0.0372 0.0637)
OKLCHoklch(60.65% 0.074 120.3)
XYZxyz(18.9375, 22.8483, 12.2148)
Luminance0.2285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8956 #635689
analogous
#897C56 #7C8956 #628956
triadic
#7C8956 #567C89 #89567C
tetradic
#7C8956 #56897C #635689 #895662
square
#7C8956 #56897C #635689 #895662
split-complementary
#7C8956 #566289 #7C5689
monochromatic
#383E27 #5A633E #7C8956 #9BA874 #B6C09A

Accessibility & contrast

On white

3.77
#7C8956 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#7C8956 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8956
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8956#FFFFFF#000000##000000
##7C89561.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8452
Deuteranopia (green-blind)
#8D8458
Tritanopia (blue-blind)
#80847C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8956;
/* rgb */ color: rgb(124, 137, 86);
/* oklch */ color: oklch(60.7% 0.074 120.3);
Tailwind
colors: {
  custom: {
    50: '#a2ab86',
    500: '#7c8956',
    950: '#000000',
  },
}
SCSS
$custom: #7c8956;
$custom-light: #a2ab86;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8956",
  "rgb": {
    "r": 124,
    "g": 137,
    "b": 86
  },
  "hsl": {
    "h": 75.294,
    "s": 22.87,
    "l": 43.725
  },
  "oklch": {
    "l": 0.60654,
    "c": 0.07374,
    "h": 120.3
  },
  "luminance": 0.22848
}

Semantic roles & 50–950 ramp

primary
#7C8956
secondary
#968EAD
accent
#68BF7F
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8956

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

Preview Lab → · Contrast checker → · Palette generator →

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