#7C8E5B#7C8E5B

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

Color values

HEX#7C8E5B
RGBrgb(124, 142, 91)
HSLhsl(81, 22%, 46%)
HSVhsv(81, 36%, 56%)
CMYKcmyk(12.7%, 0%, 35.9%, 44.3%)
CIE-LABlab(56.47, -15.62, 25.09)
CIE-LCHlch(56.47, 29.55, 121.90°)
OKLaboklab(61.93% -0.0425 0.0622)
OKLCHoklch(61.93% 0.075 124.4)
XYZxyz(19.8733, 24.3863, 13.5556)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E5B #6D5B8E
analogous
#8E865B #7C8E5B #638E5B
triadic
#7C8E5B #5B7C8E #8E5B7C
tetradic
#7C8E5B #5B8E86 #6D5B8E #8E5B63
square
#7C8E5B #5B8E86 #6D5B8E #8E5B63
split-complementary
#7C8E5B #5B638E #865B8E
monochromatic
#3B432B #5B6943 #7C8E5B #9AAB7B #B7C3A1

Accessibility & contrast

On white

3.57
#7C8E5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7C8E5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8E5B
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8E5B#FFFFFF#000000##000000
##7C8E5B1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8e5b;
/* rgb */ color: rgb(124, 142, 91);
/* oklch */ color: oklch(61.9% 0.075 124.4);
Tailwind
colors: {
  custom: {
    50: '#a2af8a',
    500: '#7c8e5b',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e5b;
$custom-light: #a2af8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e5b",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 91
  },
  "hsl": {
    "h": 81.176,
    "s": 21.888,
    "l": 45.686
  },
  "oklch": {
    "l": 0.61926,
    "c": 0.07532,
    "h": 124.4
  },
  "luminance": 0.24386
}

Semantic roles & 50–950 ramp

primary
#7C8E5B
secondary
#9E94B1
accent
#69BE87
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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