#7C8B4C#7C8B4C

#7C8B4C is a mid, moderate yellow-green. Relative luminance 0.233; OKLCH L 61.0% C 0.089 H 120.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7C8B4C
RGBrgb(124, 139, 76)
HSLhsl(74, 29%, 42%)
HSVhsv(74, 45%, 55%)
CMYKcmyk(10.8%, 0%, 45.3%, 45.5%)
CIE-LABlab(55.35, -15.97, 31.79)
CIE-LCHlch(55.35, 35.57, 116.68°)
OKLaboklab(60.95% -0.0445 0.0768)
OKLCHoklch(60.95% 0.089 120.1)
XYZxyz(18.8494, 23.2722, 10.3350)
Luminance0.2327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8B4C #5B4C8B
analogous
#8B7B4C #7C8B4C #5D8B4C
triadic
#7C8B4C #4C7C8B #8B4C7C
tetradic
#7C8B4C #4C8B7B #5B4C8B #8B4C5D
square
#7C8B4C #4C8B7B #5B4C8B #8B4C5D
split-complementary
#7C8B4C #4C5D8B #7B4C8B
monochromatic
#353C21 #596336 #7C8B4C #9CAC68 #B6C28F

Accessibility & contrast

On white

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

On black

5.65
#7C8B4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8B4C
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8B4C#FFFFFF#000000##000000
##7C8B4C1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928547
Deuteranopia (green-blind)
#90854F
Tritanopia (blue-blind)
#81857C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8b4c;
/* rgb */ color: rgb(124, 139, 76);
/* oklch */ color: oklch(61.0% 0.089 120.1);
Tailwind
colors: {
  custom: {
    50: '#a3ac7f',
    500: '#7c8b4c',
    950: '#000000',
  },
}
SCSS
$custom: #7c8b4c;
$custom-light: #a3ac7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8b4c",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 76
  },
  "hsl": {
    "h": 74.286,
    "s": 29.302,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60952,
    "c": 0.08874,
    "h": 120.1
  },
  "luminance": 0.23272
}

Semantic roles & 50–950 ramp

primary
#7C8B4C
secondary
#8E85AE
accent
#62C67A
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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