#7C9342#7C9342

#7C9342 is a light, moderate yellow-green. Relative luminance 0.255; OKLCH L 62.7% C 0.111 H 122.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7C9342
RGBrgb(124, 147, 66)
HSLhsl(77, 38%, 42%)
HSVhsv(77, 55%, 58%)
CMYKcmyk(15.6%, 0%, 55.1%, 42.4%)
CIE-LABlab(57.60, -21.21, 39.64)
CIE-LCHlch(57.60, 44.95, 118.15°)
OKLaboklab(62.72% -0.0601 0.0933)
OKLCHoklch(62.72% 0.111 122.8)
XYZxyz(19.7294, 25.5458, 9.0446)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9342 #594293
analogous
#938242 #7C9342 #549342
triadic
#7C9342 #427C93 #93427C
tetradic
#7C9342 #429382 #594293 #934254
square
#7C9342 #429382 #594293 #934254
split-complementary
#7C9342 #425493 #824293
monochromatic
#353F1C #58692F #7C9342 #9CB65C #B6C987

Accessibility & contrast

On white

3.44
#7C9342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#7C9342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9342
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9342#FFFFFF#000000##000000
##7C93421.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B3A
Deuteranopia (green-blind)
#988A47
Tritanopia (blue-blind)
#818C81
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c9342;
/* rgb */ color: rgb(124, 147, 66);
/* oklch */ color: oklch(62.7% 0.111 122.8);
Tailwind
colors: {
  custom: {
    50: '#a4b279',
    500: '#7c9342',
    950: '#000000',
  },
}
SCSS
$custom: #7c9342;
$custom-light: #a4b279;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9342",
  "rgb": {
    "r": 124,
    "g": 147,
    "b": 66
  },
  "hsl": {
    "h": 77.037,
    "s": 38.028,
    "l": 41.765
  },
  "oklch": {
    "l": 0.62718,
    "c": 0.11094,
    "h": 122.8
  },
  "luminance": 0.25546
}

Semantic roles & 50–950 ramp

primary
#7C9342
secondary
#8D7DB4
accent
#5ACE7B
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #7C9342

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

Preview Lab → · Contrast checker → · Palette generator →

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