#7C8D64#7C8D64

#7C8D64 is a mid, moderate yellow-green. Relative luminance 0.243; OKLCH L 61.9% C 0.062 H 126.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7C8D64
RGBrgb(124, 141, 100)
HSLhsl(85, 17%, 47%)
HSVhsv(85, 29%, 55%)
CMYKcmyk(12.1%, 0%, 29.1%, 44.7%)
CIE-LABlab(56.34, -13.75, 19.91)
CIE-LCHlch(56.34, 24.19, 124.63°)
OKLaboklab(61.88% -0.037 0.0501)
OKLCHoklch(61.88% 0.062 126.4)
XYZxyz(20.1370, 24.2548, 15.6749)
Luminance0.2425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D64 #75648D
analogous
#8D8964 #7C8D64 #688D64
triadic
#7C8D64 #647C8D #8D647C
tetradic
#7C8D64 #648D89 #75648D #8D6468
square
#7C8D64 #648D89 #75648D #8D6468
split-complementary
#7C8D64 #64688D #89648D
monochromatic
#3D4531 #5D694B #7C8D64 #9AA985 #B8C2A9

Accessibility & contrast

On white

3.59
#7C8D64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#7C8D64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D64
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D64#FFFFFF#000000##000000
##7C8D641.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918861
Deuteranopia (green-blind)
#8F8766
Tritanopia (blue-blind)
#7E8982
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8d64;
/* rgb */ color: rgb(124, 141, 100);
/* oklch */ color: oklch(61.9% 0.062 126.4);
Tailwind
colors: {
  custom: {
    50: '#a2ae90',
    500: '#7c8d64',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d64;
$custom-light: #a2ae90;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d64",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 100
  },
  "hsl": {
    "h": 84.878,
    "s": 17.012,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61875,
    "c": 0.0623,
    "h": 126.4
  },
  "luminance": 0.24255
}

Semantic roles & 50–950 ramp

primary
#7C8D64
secondary
#A59CB1
accent
#6EBA8D
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7C8D64

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

Preview Lab → · Contrast checker → · Palette generator →

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