#7D9752#7D9752

#7D9752 is a light, moderate yellow-green. Relative luminance 0.271; OKLCH L 64.0% C 0.099 H 126.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7D9752
RGBrgb(125, 151, 82)
HSLhsl(83, 30%, 46%)
HSVhsv(83, 46%, 59%)
CMYKcmyk(17.2%, 0%, 45.7%, 40.8%)
CIE-LABlab(59.07, -21.08, 33.27)
CIE-LCHlch(59.07, 39.38, 122.36°)
OKLaboklab(63.98% -0.0584 0.0805)
OKLCHoklch(63.98% 0.099 126)
XYZxyz(21.0469, 27.1022, 12.1034)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9752 #6C5297
analogous
#978E52 #7D9752 #5A9752
triadic
#7D9752 #527D97 #97527D
tetradic
#7D9752 #52978E #6C5297 #97525A
square
#7D9752 #52978E #6C5297 #97525A
split-complementary
#7D9752 #525A97 #8E5297
monochromatic
#3B4827 #5C6F3C #7D9752 #9BB373 #B7C99B

Accessibility & contrast

On white

3.27
#7D9752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#7D9752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9752
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9752#FFFFFF#000000##000000
##7D97521.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d9752;
/* rgb */ color: rgb(125, 151, 82);
/* oklch */ color: oklch(64.0% 0.099 126.0);
Tailwind
colors: {
  custom: {
    50: '#a4b584',
    500: '#7d9752',
    950: '#000000',
  },
}
SCSS
$custom: #7d9752;
$custom-light: #a4b584;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9752",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 82
  },
  "hsl": {
    "h": 82.609,
    "s": 29.614,
    "l": 45.686
  },
  "oklch": {
    "l": 0.63981,
    "c": 0.09944,
    "h": 126
  },
  "luminance": 0.27102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D9752

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

Preview Lab → · Contrast checker → · Palette generator →

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