#7C9752#7C9752

#7C9752 is a light, moderate yellow-green. Relative luminance 0.270; OKLCH L 63.9% C 0.100 H 126.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7C9752
RGBrgb(124, 151, 82)
HSLhsl(83, 30%, 46%)
HSVhsv(83, 46%, 59%)
CMYKcmyk(17.9%, 0%, 45.7%, 40.8%)
CIE-LABlab(59.00, -21.48, 33.16)
CIE-LCHlch(59.00, 39.51, 122.93°)
OKLaboklab(63.91% -0.0595 0.0802)
OKLCHoklch(63.91% 0.1 126.6)
XYZxyz(20.9016, 27.0273, 12.0966)
Luminance0.2703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9752 #6D5297
analogous
#978F52 #7C9752 #599752
triadic
#7C9752 #527C97 #97527C
tetradic
#7C9752 #52978F #6D5297 #975259
square
#7C9752 #52978F #6D5297 #975259
split-complementary
#7C9752 #525997 #8F5297
monochromatic
#3B4827 #5B6F3C #7C9752 #9AB373 #B7C99B

Accessibility & contrast

On white

3.28
#7C9752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#7C9752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9752
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9752#FFFFFF#000000##000000
##7C97521.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8F4C
Deuteranopia (green-blind)
#9A8E56
Tritanopia (blue-blind)
#809187
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7c9752;
/* rgb */ color: rgb(124, 151, 82);
/* oklch */ color: oklch(63.9% 0.100 126.6);
Tailwind
colors: {
  custom: {
    50: '#a3b584',
    500: '#7c9752',
    950: '#000000',
  },
}
SCSS
$custom: #7c9752;
$custom-light: #a3b584;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9752",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 82
  },
  "hsl": {
    "h": 83.478,
    "s": 29.614,
    "l": 45.686
  },
  "oklch": {
    "l": 0.63907,
    "c": 0.09989,
    "h": 126.6
  },
  "luminance": 0.27027
}

Semantic roles & 50–950 ramp

primary
#7C9752
secondary
#9E8FB6
accent
#62C689
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #7C9752

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

Preview Lab → · Contrast checker → · Palette generator →

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