#7C8D4E#7C8D4E

#7C8D4E is a mid, moderate yellow-green. Relative luminance 0.239; OKLCH L 61.5% C 0.089 H 121.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7C8D4E
RGBrgb(124, 141, 78)
HSLhsl(76, 29%, 43%)
HSVhsv(76, 45%, 55%)
CMYKcmyk(12.1%, 0%, 44.7%, 44.7%)
CIE-LABlab(55.97, -16.79, 31.50)
CIE-LCHlch(55.97, 35.69, 118.06°)
OKLaboklab(61.46% -0.0466 0.0763)
OKLCHoklch(61.46% 0.089 121.4)
XYZxyz(19.2122, 23.8849, 10.8044)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D4E #5F4E8D
analogous
#8D7E4E #7C8D4E #5D8D4E
triadic
#7C8D4E #4E7C8D #8D4E7C
tetradic
#7C8D4E #4E8D7E #5F4E8D #8D4E5D
square
#7C8D4E #4E8D7E #5F4E8D #8D4E5D
split-complementary
#7C8D4E #4E5D8D #7E4E8D
monochromatic
#373E22 #596638 #7C8D4E #9BAD6B #B6C392

Accessibility & contrast

On white

3.64
#7C8D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7C8D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D4E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D4E#FFFFFF#000000##000000
##7C8D4E1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948649
Deuteranopia (green-blind)
#928651
Tritanopia (blue-blind)
#81877E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8d4e;
/* rgb */ color: rgb(124, 141, 78);
/* oklch */ color: oklch(61.5% 0.089 121.4);
Tailwind
colors: {
  custom: {
    50: '#a3ae81',
    500: '#7c8d4e',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d4e;
$custom-light: #a3ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d4e",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 76.19,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.61459,
    "c": 0.08938,
    "h": 121.4
  },
  "luminance": 0.23885
}

Semantic roles & 50–950 ramp

primary
#7C8D4E
secondary
#9287AF
accent
#63C57D
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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