#7C8A3A#7C8A3A

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

Color values

HEX#7C8A3A
RGBrgb(124, 138, 58)
HSLhsl(71, 41%, 38%)
HSVhsv(71, 58%, 54%)
CMYKcmyk(10.1%, 0%, 58%, 45.9%)
CIE-LABlab(54.83, -17.31, 40.36)
CIE-LCHlch(54.83, 43.91, 113.21°)
OKLaboklab(60.46% -0.05 0.094)
OKLCHoklch(60.46% 0.106 118)
XYZxyz(18.1646, 22.7677, 7.4398)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A3A #483A8A
analogous
#8A703A #7C8A3A #548A3A
triadic
#7C8A3A #3A7C8A #8A3A7C
tetradic
#7C8A3A #3A8A70 #483A8A #8A3A54
square
#7C8A3A #3A8A70 #483A8A #8A3A54
split-complementary
#7C8A3A #3A548A #703A8A
monochromatic
#2F3416 #555F28 #7C8A3A #A2B44D #B9C678

Accessibility & contrast

On white

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

On black

5.55
#7C8A3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A3A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A3A#FFFFFF#000000##000000
##7C8A3A1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928332
Deuteranopia (green-blind)
#91843F
Tritanopia (blue-blind)
#838379
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8a3a;
/* rgb */ color: rgb(124, 138, 58);
/* oklch */ color: oklch(60.5% 0.106 118.0);
Tailwind
colors: {
  custom: {
    50: '#a4ac73',
    500: '#7c8a3a',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a3a;
$custom-light: #a4ac73;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a3a",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 58
  },
  "hsl": {
    "h": 70.5,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60464,
    "c": 0.10641,
    "h": 118
  },
  "luminance": 0.22768
}

Semantic roles & 50–950 ramp

primary
#7C8A3A
secondary
#7B70B0
accent
#57D16C
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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