#7C8A47#7C8A47

#7C8A47 is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.6% C 0.093 H 119.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7C8A47
RGBrgb(124, 138, 71)
HSLhsl(73, 32%, 41%)
HSVhsv(73, 49%, 54%)
CMYKcmyk(10.1%, 0%, 48.6%, 45.9%)
CIE-LABlab(54.99, -16.01, 33.98)
CIE-LCHlch(54.99, 37.56, 115.23°)
OKLaboklab(60.64% -0.045 0.0813)
OKLCHoklch(60.64% 0.093 119)
XYZxyz(18.5381, 22.9171, 9.4068)
Luminance0.2292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A47 #55478A
analogous
#8A7647 #7C8A47 #5A8A47
triadic
#7C8A47 #477C8A #8A477C
tetradic
#7C8A47 #478A76 #55478A #8A475A
square
#7C8A47 #478A76 #55478A #8A475A
split-complementary
#7C8A47 #475A8A #76478A
monochromatic
#33391D #586232 #7C8A47 #9DAE61 #B6C289

Accessibility & contrast

On white

3.76
#7C8A47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7C8A47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A47
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A47#FFFFFF#000000##000000
##7C8A471.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928441
Deuteranopia (green-blind)
#90844B
Tritanopia (blue-blind)
#82847A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a47;
/* rgb */ color: rgb(124, 138, 71);
/* oklch */ color: oklch(60.6% 0.093 119.0);
Tailwind
colors: {
  custom: {
    50: '#a3ac7c',
    500: '#7c8a47',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a47;
$custom-light: #a3ac7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a47",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 71
  },
  "hsl": {
    "h": 72.537,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.60638,
    "c": 0.09294,
    "h": 119
  },
  "luminance": 0.22917
}

Semantic roles & 50–950 ramp

primary
#7C8A47
secondary
#897FAE
accent
#60C875
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7C8A47

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

Preview Lab → · Contrast checker → · Palette generator →

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