#7C8A56#7C8A56

#7C8A56 is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.9% C 0.075 H 120.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7C8A56
RGBrgb(124, 138, 86)
HSLhsl(76, 23%, 44%)
HSVhsv(76, 38%, 54%)
CMYKcmyk(10.1%, 0%, 37.7%, 45.9%)
CIE-LABlab(55.21, -14.18, 26.19)
CIE-LCHlch(55.21, 29.78, 118.42°)
OKLaboklab(60.89% -0.0387 0.0646)
OKLCHoklch(60.89% 0.075 120.9)
XYZxyz(19.0803, 23.1340, 12.2624)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A56 #64568A
analogous
#8A7E56 #7C8A56 #628A56
triadic
#7C8A56 #567C8A #8A567C
tetradic
#7C8A56 #568A7E #64568A #8A5662
square
#7C8A56 #568A7E #64568A #8A5662
split-complementary
#7C8A56 #56628A #7E568A
monochromatic
#383F27 #5A643F #7C8A56 #9BA975 #B6C09A

Accessibility & contrast

On white

3.73
#7C8A56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7C8A56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A56
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A56#FFFFFF#000000##000000
##7C8A561.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908452
Deuteranopia (green-blind)
#8E8458
Tritanopia (blue-blind)
#80857D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a56;
/* rgb */ color: rgb(124, 138, 86);
/* oklch */ color: oklch(60.9% 0.075 120.9);
Tailwind
colors: {
  custom: {
    50: '#a2ac86',
    500: '#7c8a56',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a56;
$custom-light: #a2ac86;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a56",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 86
  },
  "hsl": {
    "h": 76.154,
    "s": 23.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.60889,
    "c": 0.07526,
    "h": 120.9
  },
  "luminance": 0.23134
}

Semantic roles & 50–950 ramp

primary
#7C8A56
secondary
#978EAE
accent
#68C080
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8A56

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

Preview Lab → · Contrast checker → · Palette generator →

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