#7C8A58#7C8A58

#7C8A58 is a mid, moderate yellow-green. Relative luminance 0.232; OKLCH L 60.9% C 0.073 H 121.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7C8A58
RGBrgb(124, 138, 88)
HSLhsl(77, 22%, 44%)
HSVhsv(77, 36%, 54%)
CMYKcmyk(10.1%, 0%, 36.2%, 45.9%)
CIE-LABlab(55.24, -13.90, 25.13)
CIE-LCHlch(55.24, 28.72, 118.95°)
OKLaboklab(60.93% -0.0378 0.0622)
OKLCHoklch(60.93% 0.073 121.3)
XYZxyz(19.1620, 23.1666, 12.6927)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A58 #66588A
analogous
#8A7F58 #7C8A58 #638A58
triadic
#7C8A58 #587C8A #8A587C
tetradic
#7C8A58 #588A7F #66588A #8A5863
square
#7C8A58 #588A7F #66588A #8A5863
split-complementary
#7C8A58 #58638A #7F588A
monochromatic
#393F28 #5A6540 #7C8A58 #9AA877 #B6C09C

Accessibility & contrast

On white

3.73
#7C8A58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7C8A58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A58
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A58#FFFFFF#000000##000000
##7C8A581.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908454
Deuteranopia (green-blind)
#8E845A
Tritanopia (blue-blind)
#80857D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a58;
/* rgb */ color: rgb(124, 138, 88);
/* oklch */ color: oklch(60.9% 0.073 121.3);
Tailwind
colors: {
  custom: {
    50: '#a2ac87',
    500: '#7c8a58',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a58;
$custom-light: #a2ac87;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a58",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 88
  },
  "hsl": {
    "h": 76.8,
    "s": 22.124,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60927,
    "c": 0.07278,
    "h": 121.3
  },
  "luminance": 0.23167
}

Semantic roles & 50–950 ramp

primary
#7C8A58
secondary
#9890AE
accent
#69BF81
background
#FAFAF8
surface
#F3F4EF
border
#CDCECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8A58

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

Preview Lab → · Contrast checker → · Palette generator →

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