#7C8D49#7C8D49

#7C8D49 is a mid, moderate yellow-green. Relative luminance 0.238; OKLCH L 61.4% C 0.095 H 120.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7C8D49
RGBrgb(124, 141, 73)
HSLhsl(75, 32%, 42%)
HSVhsv(75, 48%, 55%)
CMYKcmyk(12.1%, 0%, 48.2%, 44.7%)
CIE-LABlab(55.90, -17.37, 34.05)
CIE-LCHlch(55.90, 38.22, 117.03°)
OKLaboklab(61.38% -0.0487 0.0816)
OKLCHoklch(61.38% 0.095 120.8)
XYZxyz(19.0397, 23.8159, 9.8959)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D49 #5A498D
analogous
#8D7C49 #7C8D49 #5A8D49
triadic
#7C8D49 #497C8D #8D497C
tetradic
#7C8D49 #498D7C #5A498D #8D495A
square
#7C8D49 #498D7C #5A498D #8D495A
split-complementary
#7C8D49 #495A8D #7C498D
monochromatic
#353C1F #596534 #7C8D49 #9CAF64 #B6C48D

Accessibility & contrast

On white

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

On black

5.76
#7C8D49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D49
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D49#FFFFFF#000000##000000
##7C8D491.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948643
Deuteranopia (green-blind)
#92864D
Tritanopia (blue-blind)
#81877D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8d49;
/* rgb */ color: rgb(124, 141, 73);
/* oklch */ color: oklch(61.4% 0.095 120.8);
Tailwind
colors: {
  custom: {
    50: '#a3ae7d',
    500: '#7c8d49',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d49;
$custom-light: #a3ae7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d49",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 73
  },
  "hsl": {
    "h": 75,
    "s": 31.776,
    "l": 41.961
  },
  "oklch": {
    "l": 0.61381,
    "c": 0.09503,
    "h": 120.8
  },
  "luminance": 0.23816
}

Semantic roles & 50–950 ramp

primary
#7C8D49
secondary
#8E82B0
accent
#60C87A
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8D49

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

Preview Lab → · Contrast checker → · Palette generator →

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