#7C8E5A#7C8E5A

#7C8E5A is a mid, moderate yellow-green. Relative luminance 0.244; OKLCH L 61.9% C 0.077 H 124.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7C8E5A
RGBrgb(124, 142, 90)
HSLhsl(81, 22%, 45%)
HSVhsv(81, 37%, 56%)
CMYKcmyk(12.7%, 0%, 36.6%, 44.3%)
CIE-LABlab(56.46, -15.76, 25.62)
CIE-LCHlch(56.46, 30.07, 121.60°)
OKLaboklab(61.91% -0.043 0.0634)
OKLCHoklch(61.91% 0.077 124.1)
XYZxyz(19.8305, 24.3692, 13.3299)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E5A #6C5A8E
analogous
#8E865A #7C8E5A #628E5A
triadic
#7C8E5A #5A7C8E #8E5A7C
tetradic
#7C8E5A #5A8E86 #6C5A8E #8E5A62
square
#7C8E5A #5A8E86 #6C5A8E #8E5A62
split-complementary
#7C8E5A #5A628E #865A8E
monochromatic
#3B432B #5B6942 #7C8E5A #9AAB7A #B7C3A0

Accessibility & contrast

On white

3.58
#7C8E5A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7C8E5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8E5A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8E5A#FFFFFF#000000##000000
##7C8E5A1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948856
Deuteranopia (green-blind)
#91875D
Tritanopia (blue-blind)
#7F8981
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8e5a;
/* rgb */ color: rgb(124, 142, 90);
/* oklch */ color: oklch(61.9% 0.077 124.1);
Tailwind
colors: {
  custom: {
    50: '#a2af89',
    500: '#7c8e5a',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e5a;
$custom-light: #a2af89;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e5a",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 90
  },
  "hsl": {
    "h": 80.769,
    "s": 22.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.61907,
    "c": 0.07655,
    "h": 124.1
  },
  "luminance": 0.24369
}

Semantic roles & 50–950 ramp

primary
#7C8E5A
secondary
#9D93B1
accent
#69BF87
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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