#7C8D45#7C8D45

#7C8D45 is a mid, moderate yellow-green. Relative luminance 0.238; OKLCH L 61.3% C 0.099 H 120.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7C8D45
RGBrgb(124, 141, 69)
HSLhsl(74, 34%, 41%)
HSVhsv(74, 51%, 55%)
CMYKcmyk(12.1%, 0%, 51.1%, 44.7%)
CIE-LABlab(55.85, -17.81, 36.06)
CIE-LCHlch(55.85, 40.21, 116.28°)
OKLaboklab(61.32% -0.0503 0.0857)
OKLCHoklch(61.32% 0.099 120.4)
XYZxyz(18.9114, 23.7646, 9.2198)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D45 #56458D
analogous
#8D7A45 #7C8D45 #588D45
triadic
#7C8D45 #457C8D #8D457C
tetradic
#7C8D45 #458D7A #56458D #8D4558
square
#7C8D45 #458D7A #56458D #8D4558
split-complementary
#7C8D45 #45588D #7A458D
monochromatic
#343B1D #586431 #7C8D45 #9DB15F #B6C588

Accessibility & contrast

On white

3.65
#7C8D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#7C8D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D45
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D45#FFFFFF#000000##000000
##7C8D451.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95863F
Deuteranopia (green-blind)
#938649
Tritanopia (blue-blind)
#82877C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8d45;
/* rgb */ color: rgb(124, 141, 69);
/* oklch */ color: oklch(61.3% 0.099 120.4);
Tailwind
colors: {
  custom: {
    50: '#a3ae7a',
    500: '#7c8d45',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d45;
$custom-light: #a3ae7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d45",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 74.167,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.61322,
    "c": 0.09938,
    "h": 120.4
  },
  "luminance": 0.23765
}

Semantic roles & 50–950 ramp

primary
#7C8D45
secondary
#8A7EB0
accent
#5DCA77
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7C8D45

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

Preview Lab → · Contrast checker → · Palette generator →

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