#7C8A3E#7C8A3E

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

Color values

HEX#7C8A3E
RGBrgb(124, 138, 62)
HSLhsl(71, 38%, 39%)
HSVhsv(71, 55%, 54%)
CMYKcmyk(10.1%, 0%, 55.1%, 45.9%)
CIE-LABlab(54.88, -16.94, 38.44)
CIE-LCHlch(54.88, 42.01, 113.78°)
OKLaboklab(60.51% -0.0485 0.0903)
OKLCHoklch(60.51% 0.102 118.2)
XYZxyz(18.2704, 22.8100, 7.9968)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A3E #4C3E8A
analogous
#8A723E #7C8A3E #568A3E
triadic
#7C8A3E #3E7C8A #8A3E7C
tetradic
#7C8A3E #3E8A72 #4C3E8A #8A3E56
square
#7C8A3E #3E8A72 #4C3E8A #8A3E56
split-complementary
#7C8A3E #3E568A #723E8A
monochromatic
#303618 #56602B #7C8A3E #A0B253 #B8C57E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8A3E#FFFFFF#000000##000000
##7C8A3E1.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)
#928337
Deuteranopia (green-blind)
#918442
Tritanopia (blue-blind)
#828379
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8a3e;
/* rgb */ color: rgb(124, 138, 62);
/* oklch */ color: oklch(60.5% 0.102 118.2);
Tailwind
colors: {
  custom: {
    50: '#a4ac76',
    500: '#7c8a3e',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a3e;
$custom-light: #a4ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a3e",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 62
  },
  "hsl": {
    "h": 71.053,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60513,
    "c": 0.10247,
    "h": 118.2
  },
  "luminance": 0.2281
}

Semantic roles & 50–950 ramp

primary
#7C8A3E
secondary
#8075AF
accent
#5ACE6F
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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