#7C8D47#7C8D47

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

Color values

HEX#7C8D47
RGBrgb(124, 141, 71)
HSLhsl(75, 33%, 42%)
HSVhsv(75, 50%, 55%)
CMYKcmyk(12.1%, 0%, 49.6%, 44.7%)
CIE-LABlab(55.88, -17.59, 35.06)
CIE-LCHlch(55.88, 39.22, 116.65°)
OKLaboklab(61.35% -0.0495 0.0837)
OKLCHoklch(61.35% 0.097 120.6)
XYZxyz(18.9745, 23.7898, 9.5523)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D47 #58478D
analogous
#8D7B47 #7C8D47 #598D47
triadic
#7C8D47 #477C8D #8D477C
tetradic
#7C8D47 #478D7B #58478D #8D4759
square
#7C8D47 #478D7B #58478D #8D4759
split-complementary
#7C8D47 #47598D #7B478D
monochromatic
#343C1E #586433 #7C8D47 #9DB062 #B6C48A

Accessibility & contrast

On white

3.65
#7C8D47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8D47#FFFFFF#000000##000000
##7C8D471.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8d47;
/* rgb */ color: rgb(124, 141, 71);
/* oklch */ color: oklch(61.4% 0.097 120.6);
Tailwind
colors: {
  custom: {
    50: '#a3ae7c',
    500: '#7c8d47',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d47;
$custom-light: #a3ae7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d47",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 71
  },
  "hsl": {
    "h": 74.571,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.61351,
    "c": 0.09723,
    "h": 120.6
  },
  "luminance": 0.2379
}

Semantic roles & 50–950 ramp

primary
#7C8D47
secondary
#8C80B0
accent
#5FC979
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7C8D47

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

Preview Lab → · Contrast checker → · Palette generator →

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