#7C8F3D#7C8F3D

#7C8F3D is a mid, moderate yellow-green. Relative luminance 0.243; OKLCH L 61.7% C 0.110 H 120.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7C8F3D
RGBrgb(124, 143, 61)
HSLhsl(74, 40%, 40%)
HSVhsv(74, 57%, 56%)
CMYKcmyk(13.3%, 0%, 57.3%, 43.9%)
CIE-LABlab(56.35, -19.64, 40.64)
CIE-LCHlch(56.35, 45.13, 115.79°)
OKLaboklab(61.7% -0.0562 0.0949)
OKLCHoklch(61.7% 0.11 120.6)
XYZxyz(18.9771, 24.2670, 8.0982)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F3D #503D8F
analogous
#8F793D #7C8F3D #538F3D
triadic
#7C8F3D #3D7C8F #8F3D7C
tetradic
#7C8F3D #3D8F79 #503D8F #8F3D53
square
#7C8F3D #3D8F79 #503D8F #8F3D53
split-complementary
#7C8F3D #3D538F #793D8F
monochromatic
#323918 #57642B #7C8F3D #9FB653 #B7C87E

Accessibility & contrast

On white

3.59
#7C8F3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#7C8F3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F3D
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F3D#FFFFFF#000000##000000
##7C8F3D1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978735
Deuteranopia (green-blind)
#958742
Tritanopia (blue-blind)
#82887D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8f3d;
/* rgb */ color: rgb(124, 143, 61);
/* oklch */ color: oklch(61.7% 0.110 120.6);
Tailwind
colors: {
  custom: {
    50: '#a4af75',
    500: '#7c8f3d',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f3d;
$custom-light: #a4af75;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f3d",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 61
  },
  "hsl": {
    "h": 73.902,
    "s": 40.196,
    "l": 40
  },
  "oklch": {
    "l": 0.61696,
    "c": 0.11027,
    "h": 120.6
  },
  "luminance": 0.24267
}

Semantic roles & 50–950 ramp

primary
#7C8F3D
secondary
#8476B2
accent
#58D074
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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