#7C9740#7C9740

#7C9740 is a light, moderate yellow-green. Relative luminance 0.268; OKLCH L 63.7% C 0.118 H 124.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7C9740
RGBrgb(124, 151, 64)
HSLhsl(79, 40%, 42%)
HSVhsv(79, 58%, 59%)
CMYKcmyk(17.9%, 0%, 57.6%, 40.8%)
CIE-LABlab(58.78, -23.42, 41.97)
CIE-LCHlch(58.78, 48.06, 119.17°)
OKLaboklab(63.66% -0.0665 0.0981)
OKLCHoklch(63.66% 0.118 124.1)
XYZxyz(20.3043, 26.7883, 8.9505)
Luminance0.2679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9740 #5B4097
analogous
#978740 #7C9740 #509740
triadic
#7C9740 #407C97 #97407C
tetradic
#7C9740 #409787 #5B4097 #974050
square
#7C9740 #409787 #5B4097 #974050
split-complementary
#7C9740 #405097 #874097
monochromatic
#35411C #596C2E #7C9740 #9CB95B #B6CC86

Accessibility & contrast

On white

3.30
#7C9740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#7C9740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9740
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9740#FFFFFF#000000##000000
##7C97401.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E37
Deuteranopia (green-blind)
#9B8D46
Tritanopia (blue-blind)
#819084
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7c9740;
/* rgb */ color: rgb(124, 151, 64);
/* oklch */ color: oklch(63.7% 0.118 124.1);
Tailwind
colors: {
  custom: {
    50: '#a4b578',
    500: '#7c9740',
    950: '#000000',
  },
}
SCSS
$custom: #7c9740;
$custom-light: #a4b578;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9740",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 64
  },
  "hsl": {
    "h": 78.621,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.63657,
    "c": 0.11848,
    "h": 124.1
  },
  "luminance": 0.26788
}

Semantic roles & 50–950 ramp

primary
#7C9740
secondary
#8E7DB6
accent
#57D07D
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #7C9740

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

Preview Lab → · Contrast checker → · Palette generator →

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