#7C8D3D#7C8D3D

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

Color values

HEX#7C8D3D
RGBrgb(124, 141, 61)
HSLhsl(73, 40%, 40%)
HSVhsv(73, 57%, 55%)
CMYKcmyk(12.1%, 0%, 56.7%, 44.7%)
CIE-LABlab(55.76, -18.60, 39.96)
CIE-LCHlch(55.76, 44.07, 114.96°)
OKLaboklab(61.22% -0.0533 0.0934)
OKLCHoklch(61.22% 0.108 119.7)
XYZxyz(18.6796, 23.6718, 7.9990)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D3D #4E3D8D
analogous
#8D763D #7C8D3D #548D3D
triadic
#7C8D3D #3D7C8D #8D3D7C
tetradic
#7C8D3D #3D8D76 #4E3D8D #8D3D54
square
#7C8D3D #3D8D76 #4E3D8D #8D3D54
split-complementary
#7C8D3D #3D548D #763D8D
monochromatic
#313818 #56622B #7C8D3D #A0B453 #B7C77D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8D3D#FFFFFF#000000##000000
##7C8D3D1.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)
#958635
Deuteranopia (green-blind)
#938642
Tritanopia (blue-blind)
#82867B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8d3d;
/* rgb */ color: rgb(124, 141, 61);
/* oklch */ color: oklch(61.2% 0.108 119.7);
Tailwind
colors: {
  custom: {
    50: '#a4ae75',
    500: '#7c8d3d',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d3d;
$custom-light: #a4ae75;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d3d",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 72.75,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61217,
    "c": 0.10755,
    "h": 119.7
  },
  "luminance": 0.23672
}

Semantic roles & 50–950 ramp

primary
#7C8D3D
secondary
#8275B1
accent
#58CF72
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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