#7C9345#7C9345

#7C9345 is a light, moderate yellow-green. Relative luminance 0.256; OKLCH L 62.8% C 0.108 H 123.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7C9345
RGBrgb(124, 147, 69)
HSLhsl(78, 36%, 42%)
HSVhsv(78, 53%, 58%)
CMYKcmyk(15.6%, 0%, 53.1%, 42.4%)
CIE-LABlab(57.64, -20.91, 38.19)
CIE-LCHlch(57.64, 43.53, 118.70°)
OKLaboklab(62.76% -0.059 0.0904)
OKLCHoklch(62.76% 0.108 123.1)
XYZxyz(19.8201, 25.5821, 9.5227)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9345 #5C4593
analogous
#938345 #7C9345 #559345
triadic
#7C9345 #457C93 #93457C
tetradic
#7C9345 #459383 #5C4593 #934555
square
#7C9345 #459383 #5C4593 #934555
split-complementary
#7C9345 #455593 #834593
monochromatic
#36401E #596931 #7C9345 #9CB561 #B6C88A

Accessibility & contrast

On white

3.43
#7C9345 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7C9345 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9345
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9345#FFFFFF#000000##000000
##7C93451.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B3E
Deuteranopia (green-blind)
#978A4A
Tritanopia (blue-blind)
#818D81
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c9345;
/* rgb */ color: rgb(124, 147, 69);
/* oklch */ color: oklch(62.8% 0.108 123.1);
Tailwind
colors: {
  custom: {
    50: '#a3b27b',
    500: '#7c9345',
    950: '#000000',
  },
}
SCSS
$custom: #7c9345;
$custom-light: #a3b27b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9345",
  "rgb": {
    "r": 124,
    "g": 147,
    "b": 69
  },
  "hsl": {
    "h": 77.692,
    "s": 36.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.62758,
    "c": 0.10793,
    "h": 123.1
  },
  "luminance": 0.25582
}

Semantic roles & 50–950 ramp

primary
#7C9345
secondary
#8F80B3
accent
#5CCC7D
background
#FAFAF7
surface
#F4F5EE
border
#CECFC9
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #7C9345

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

Preview Lab → · Contrast checker → · Palette generator →

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