#7C8A61#7C8A61

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

Color values

HEX#7C8A61
RGBrgb(124, 138, 97)
HSLhsl(80, 17%, 46%)
HSVhsv(80, 30%, 54%)
CMYKcmyk(10.1%, 0%, 29.7%, 45.9%)
CIE-LABlab(55.41, -12.59, 20.33)
CIE-LCHlch(55.41, 23.91, 121.78°)
OKLaboklab(61.11% -0.0338 0.0511)
OKLCHoklch(61.11% 0.061 123.5)
XYZxyz(19.5581, 23.3251, 14.7788)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A61 #6F618A
analogous
#8A8361 #7C8A61 #678A61
triadic
#7C8A61 #617C8A #8A617C
tetradic
#7C8A61 #618A83 #6F618A #8A6167
square
#7C8A61 #618A83 #6F618A #8A6167
split-complementary
#7C8A61 #61678A #83618A
monochromatic
#3B422E #5C6648 #7C8A61 #9AA781 #B7C0A5

Accessibility & contrast

On white

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

On black

5.67
#7C8A61 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A61
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A61#FFFFFF#000000##000000
##7C8A611.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8a61;
/* rgb */ color: rgb(124, 138, 97);
/* oklch */ color: oklch(61.1% 0.061 123.5);
Tailwind
colors: {
  custom: {
    50: '#a2ac8e',
    500: '#7c8a61',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a61;
$custom-light: #a2ac8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a61",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 97
  },
  "hsl": {
    "h": 80.488,
    "s": 17.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61109,
    "c": 0.06126,
    "h": 123.5
  },
  "luminance": 0.23325
}

Semantic roles & 50–950 ramp

primary
#7C8A61
secondary
#A098AF
accent
#6EBA88
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7C8A61

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

Preview Lab → · Contrast checker → · Palette generator →

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