#7C8A3C#7C8A3C

#7C8A3C is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.5% C 0.104 H 118.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7C8A3C
RGBrgb(124, 138, 60)
HSLhsl(71, 39%, 39%)
HSVhsv(71, 57%, 54%)
CMYKcmyk(10.1%, 0%, 56.5%, 45.9%)
CIE-LABlab(54.85, -17.13, 39.41)
CIE-LCHlch(54.85, 42.97, 113.49°)
OKLaboklab(60.49% -0.0492 0.0921)
OKLCHoklch(60.49% 0.104 118.1)
XYZxyz(18.2165, 22.7884, 7.7130)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A3C #4A3C8A
analogous
#8A713C #7C8A3C #558A3C
triadic
#7C8A3C #3C7C8A #8A3C7C
tetradic
#7C8A3C #3C8A71 #4A3C8A #8A3C55
square
#7C8A3C #3C8A71 #4A3C8A #8A3C55
split-complementary
#7C8A3C #3C558A #713C8A
monochromatic
#2F3517 #565F29 #7C8A3C #A1B350 #B8C67B

Accessibility & contrast

On white

3.78
#7C8A3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7C8A3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A3C
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A3C#FFFFFF#000000##000000
##7C8A3C1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928334
Deuteranopia (green-blind)
#918441
Tritanopia (blue-blind)
#838379
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8a3c;
/* rgb */ color: rgb(124, 138, 60);
/* oklch */ color: oklch(60.5% 0.104 118.1);
Tailwind
colors: {
  custom: {
    50: '#a4ac74',
    500: '#7c8a3c',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a3c;
$custom-light: #a4ac74;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a3c",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 60
  },
  "hsl": {
    "h": 70.769,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60488,
    "c": 0.10446,
    "h": 118.1
  },
  "luminance": 0.22788
}

Semantic roles & 50–950 ramp

primary
#7C8A3C
secondary
#7D73AF
accent
#59CF6E
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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