#7C8E4E#7C8E4E

#7C8E4E is a mid, moderate yellow-green. Relative luminance 0.242; OKLCH L 61.7% C 0.091 H 122.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7C8E4E
RGBrgb(124, 142, 78)
HSLhsl(77, 29%, 43%)
HSVhsv(77, 45%, 56%)
CMYKcmyk(12.7%, 0%, 45.1%, 44.3%)
CIE-LABlab(56.27, -17.31, 31.87)
CIE-LCHlch(56.27, 36.27, 118.51°)
OKLaboklab(61.7% -0.0481 0.0771)
OKLCHoklch(61.7% 0.091 122)
XYZxyz(19.3603, 24.1811, 10.8537)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E4E #604E8E
analogous
#8E804E #7C8E4E #5C8E4E
triadic
#7C8E4E #4E7C8E #8E4E7C
tetradic
#7C8E4E #4E8E80 #604E8E #8E4E5C
square
#7C8E4E #4E8E80 #604E8E #8E4E5C
split-complementary
#7C8E4E #4E5C8E #804E8E
monochromatic
#373F23 #5A6638 #7C8E4E #9BAE6B #B6C493

Accessibility & contrast

On white

3.60
#7C8E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#7C8E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8E4E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8E4E#FFFFFF#000000##000000
##7C8E4E1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958749
Deuteranopia (green-blind)
#928751
Tritanopia (blue-blind)
#81887F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8e4e;
/* rgb */ color: rgb(124, 142, 78);
/* oklch */ color: oklch(61.7% 0.091 122.0);
Tailwind
colors: {
  custom: {
    50: '#a3af81',
    500: '#7c8e4e',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e4e;
$custom-light: #a3af81;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e4e",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 78
  },
  "hsl": {
    "h": 76.875,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.61696,
    "c": 0.09087,
    "h": 122
  },
  "luminance": 0.24181
}

Semantic roles & 50–950 ramp

primary
#7C8E4E
secondary
#9388B0
accent
#62C57E
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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