#7C8D3E#7C8D3E

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

Color values

HEX#7C8D3E
RGBrgb(124, 141, 62)
HSLhsl(73, 39%, 40%)
HSVhsv(73, 56%, 55%)
CMYKcmyk(12.1%, 0%, 56%, 44.7%)
CIE-LABlab(55.77, -18.51, 39.48)
CIE-LCHlch(55.77, 43.60, 115.12°)
OKLaboklab(61.23% -0.0529 0.0925)
OKLCHoklch(61.23% 0.107 119.8)
XYZxyz(18.7068, 23.6827, 8.1422)
Luminance0.2368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D3E #4F3E8D
analogous
#8D763E #7C8D3E #558D3E
triadic
#7C8D3E #3E7C8D #8D3E7C
tetradic
#7C8D3E #3E8D76 #4F3E8D #8D3E55
square
#7C8D3E #3E8D76 #4F3E8D #8D3E55
split-complementary
#7C8D3E #3E558D #763E8D
monochromatic
#313819 #57622B #7C8D3E #9FB454 #B7C77F

Accessibility & contrast

On white

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

On black

5.74
#7C8D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D3E
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D3E#FFFFFF#000000##000000
##7C8D3E1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8d3e;
/* rgb */ color: rgb(124, 141, 62);
/* oklch */ color: oklch(61.2% 0.107 119.8);
Tailwind
colors: {
  custom: {
    50: '#a4ae76',
    500: '#7c8d3e',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d3e;
$custom-light: #a4ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d3e",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 72.911,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6123,
    "c": 0.10656,
    "h": 119.8
  },
  "luminance": 0.23683
}

Semantic roles & 50–950 ramp

primary
#7C8D3E
secondary
#8376B1
accent
#59CF72
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7C8D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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