#7C8F5A#7C8F5A

#7C8F5A is a light, moderate yellow-green. Relative luminance 0.247; OKLCH L 62.1% C 0.078 H 124.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7C8F5A
RGBrgb(124, 143, 90)
HSLhsl(82, 23%, 46%)
HSVhsv(82, 37%, 56%)
CMYKcmyk(13.3%, 0%, 37.1%, 43.9%)
CIE-LABlab(56.75, -16.28, 26.00)
CIE-LCHlch(56.75, 30.68, 122.06°)
OKLaboklab(62.14% -0.0445 0.0643)
OKLCHoklch(62.14% 0.078 124.7)
XYZxyz(19.9799, 24.6681, 13.3797)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F5A #6D5A8F
analogous
#8F875A #7C8F5A #618F5A
triadic
#7C8F5A #5A7C8F #8F5A7C
tetradic
#7C8F5A #5A8F87 #6D5A8F #8F5A61
square
#7C8F5A #5A8F87 #6D5A8F #8F5A61
split-complementary
#7C8F5A #5A618F #875A8F
monochromatic
#3B442B #5B6942 #7C8F5A #9AAC7B #B7C3A0

Accessibility & contrast

On white

3.54
#7C8F5A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#7C8F5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F5A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F5A#FFFFFF#000000##000000
##7C8F5A1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958956
Deuteranopia (green-blind)
#92885D
Tritanopia (blue-blind)
#7F8A82
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7c8f5a;
/* rgb */ color: rgb(124, 143, 90);
/* oklch */ color: oklch(62.1% 0.078 124.7);
Tailwind
colors: {
  custom: {
    50: '#a2af89',
    500: '#7c8f5a',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f5a;
$custom-light: #a2af89;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f5a",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 90
  },
  "hsl": {
    "h": 81.509,
    "s": 22.747,
    "l": 45.686
  },
  "oklch": {
    "l": 0.62143,
    "c": 0.07814,
    "h": 124.7
  },
  "luminance": 0.24668
}

Semantic roles & 50–950 ramp

primary
#7C8F5A
secondary
#9E94B1
accent
#69BF88
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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