#7C8A60#7C8A60

#7C8A60 is a mid, moderate yellow-green. Relative luminance 0.233; OKLCH L 61.1% C 0.063 H 123.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7C8A60
RGBrgb(124, 138, 96)
HSLhsl(80, 18%, 46%)
HSVhsv(80, 30%, 54%)
CMYKcmyk(10.1%, 0%, 30.4%, 45.9%)
CIE-LABlab(55.39, -12.75, 20.87)
CIE-LCHlch(55.39, 24.45, 121.42°)
OKLaboklab(61.09% -0.0343 0.0523)
OKLCHoklch(61.09% 0.063 123.2)
XYZxyz(19.5118, 23.3065, 14.5347)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A60 #6E608A
analogous
#8A8360 #7C8A60 #678A60
triadic
#7C8A60 #607C8A #8A607C
tetradic
#7C8A60 #608A83 #6E608A #8A6067
square
#7C8A60 #608A83 #6E608A #8A6067
split-complementary
#7C8A60 #60678A #83608A
monochromatic
#3B422E #5C6647 #7C8A60 #9AA780 #B7C0A4

Accessibility & contrast

On white

3.71
#7C8A60 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#7C8A60 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A60
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A60#FFFFFF#000000##000000
##7C8A601.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F855D
Deuteranopia (green-blind)
#8D8562
Tritanopia (blue-blind)
#7F867F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8a60;
/* rgb */ color: rgb(124, 138, 96);
/* oklch */ color: oklch(61.1% 0.063 123.2);
Tailwind
colors: {
  custom: {
    50: '#a2ac8d',
    500: '#7c8a60',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a60;
$custom-light: #a2ac8d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a60",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 96
  },
  "hsl": {
    "h": 80,
    "s": 17.949,
    "l": 45.882
  },
  "oklch": {
    "l": 0.61088,
    "c": 0.06256,
    "h": 123.2
  },
  "luminance": 0.23307
}

Semantic roles & 50–950 ramp

primary
#7C8A60
secondary
#9F97AE
accent
#6DBB87
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7C8A60

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

Preview Lab → · Contrast checker → · Palette generator →

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