#7C9A4E#7C9A4E

#7C9A4E is a light, moderate yellow-green. Relative luminance 0.279; OKLCH L 64.6% C 0.109 H 126.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7C9A4E
RGBrgb(124, 154, 78)
HSLhsl(84, 33%, 45%)
HSVhsv(84, 49%, 60%)
CMYKcmyk(19.5%, 0%, 49.4%, 39.6%)
CIE-LABlab(59.84, -23.46, 36.27)
CIE-LCHlch(59.84, 43.20, 122.90°)
OKLaboklab(64.57% -0.0654 0.0869)
OKLCHoklch(64.57% 0.109 126.9)
XYZxyz(21.2428, 27.9461, 11.4812)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9A4E #6C4E9A
analogous
#9A924E #7C9A4E #569A4E
triadic
#7C9A4E #4E7C9A #9A4E7C
tetradic
#7C9A4E #4E9A92 #6C4E9A #9A4E56
square
#7C9A4E #4E9A92 #6C4E9A #9A4E56
split-complementary
#7C9A4E #4E569A #924E9A
monochromatic
#3B4925 #5B7139 #7C9A4E #9AB66F #B7CB98

Accessibility & contrast

On white

3.19
#7C9A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#7C9A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9A4E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9A4E#FFFFFF#000000##000000
##7C9A4E1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19147
Deuteranopia (green-blind)
#9C9052
Tritanopia (blue-blind)
#809488
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7c9a4e;
/* rgb */ color: rgb(124, 154, 78);
/* oklch */ color: oklch(64.6% 0.109 126.9);
Tailwind
colors: {
  custom: {
    50: '#a3b881',
    500: '#7c9a4e',
    950: '#000000',
  },
}
SCSS
$custom: #7c9a4e;
$custom-light: #a3b881;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9a4e",
  "rgb": {
    "r": 124,
    "g": 154,
    "b": 78
  },
  "hsl": {
    "h": 83.684,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.64566,
    "c": 0.10875,
    "h": 126.9
  },
  "luminance": 0.27946
}

Semantic roles & 50–950 ramp

primary
#7C9A4E
secondary
#9D8DB7
accent
#5FC989
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7C9A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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