#7C8D3C#7C8D3C

#7C8D3C is a mid, moderate yellow-green. Relative luminance 0.237; OKLCH L 61.2% C 0.109 H 119.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7C8D3C
RGBrgb(124, 141, 60)
HSLhsl(73, 40%, 39%)
HSVhsv(73, 57%, 55%)
CMYKcmyk(12.1%, 0%, 57.4%, 44.7%)
CIE-LABlab(55.75, -18.69, 40.43)
CIE-LCHlch(55.75, 44.54, 114.81°)
OKLaboklab(61.21% -0.0536 0.0943)
OKLCHoklch(61.21% 0.109 119.6)
XYZxyz(18.6529, 23.6612, 7.8585)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D3C #4D3C8D
analogous
#8D763C #7C8D3C #538D3C
triadic
#7C8D3C #3C7C8D #8D3C7C
tetradic
#7C8D3C #3C8D76 #4D3C8D #8D3C53
square
#7C8D3C #3C8D76 #4D3C8D #8D3C53
split-complementary
#7C8D3C #3C538D #763C8D
monochromatic
#303717 #56622A #7C8D3C #A0B551 #B8C77C

Accessibility & contrast

On white

3.66
#7C8D3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#7C8D3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D3C
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D3C#FFFFFF#000000##000000
##7C8D3C1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958634
Deuteranopia (green-blind)
#938641
Tritanopia (blue-blind)
#82867B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8d3c;
/* rgb */ color: rgb(124, 141, 60);
/* oklch */ color: oklch(61.2% 0.109 119.6);
Tailwind
colors: {
  custom: {
    50: '#a4ae75',
    500: '#7c8d3c',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d3c;
$custom-light: #a4ae75;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d3c",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 60
  },
  "hsl": {
    "h": 72.593,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61205,
    "c": 0.10851,
    "h": 119.6
  },
  "luminance": 0.23661
}

Semantic roles & 50–950 ramp

primary
#7C8D3C
secondary
#8174B1
accent
#58D071
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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