#7C8B5B#7C8B5B

#7C8B5B is a mid, moderate yellow-green. Relative luminance 0.235; OKLCH L 61.2% C 0.071 H 122.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7C8B5B
RGBrgb(124, 139, 91)
HSLhsl(79, 21%, 45%)
HSVhsv(79, 35%, 55%)
CMYKcmyk(10.8%, 0%, 34.5%, 45.5%)
CIE-LABlab(55.59, -14.02, 23.93)
CIE-LCHlch(55.59, 27.73, 120.36°)
OKLaboklab(61.22% -0.038 0.0595)
OKLCHoklch(61.22% 0.071 122.6)
XYZxyz(19.4330, 23.5056, 13.4088)
Luminance0.2351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8B5B #6A5B8B
analogous
#8B825B #7C8B5B #648B5B
triadic
#7C8B5B #5B7C8B #8B5B7C
tetradic
#7C8B5B #5B8B82 #6A5B8B #8B5B64
square
#7C8B5B #5B8B82 #6A5B8B #8B5B64
split-complementary
#7C8B5B #5B648B #825B8B
monochromatic
#3A412B #5B6643 #7C8B5B #9AA87B #B6C1A0

Accessibility & contrast

On white

3.68
#7C8B5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#7C8B5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8B5B
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8B5B#FFFFFF#000000##000000
##7C8B5B1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918558
Deuteranopia (green-blind)
#8E855D
Tritanopia (blue-blind)
#80867F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8b5b;
/* rgb */ color: rgb(124, 139, 91);
/* oklch */ color: oklch(61.2% 0.071 122.6);
Tailwind
colors: {
  custom: {
    50: '#a2ac8a',
    500: '#7c8b5b',
    950: '#000000',
  },
}
SCSS
$custom: #7c8b5b;
$custom-light: #a2ac8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8b5b",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 91
  },
  "hsl": {
    "h": 78.75,
    "s": 20.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6122,
    "c": 0.07057,
    "h": 122.6
  },
  "luminance": 0.23506
}

Semantic roles & 50–950 ramp

primary
#7C8B5B
secondary
#9C93AF
accent
#6ABD84
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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