#7D9720#7D9720

#7D9720 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.5% C 0.142 H 121.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7D9720
RGBrgb(125, 151, 32)
HSLhsl(73, 65%, 36%)
HSVhsv(73, 79%, 59%)
CMYKcmyk(17.2%, 0%, 78.8%, 40.8%)
CIE-LABlab(58.60, -25.23, 54.88)
CIE-LCHlch(58.60, 60.40, 114.69°)
OKLaboklab(63.45% -0.0745 0.1206)
OKLCHoklch(63.45% 0.142 121.7)
XYZxyz(19.7851, 26.5975, 5.4577)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9720 #3A2097
analogous
#977520 #7D9720 #419720
triadic
#7D9720 #207D97 #97207D
tetradic
#7D9720 #209775 #3A2097 #972041
square
#7D9720 #209775 #3A2097 #972041
split-complementary
#7D9720 #204197 #752097
monochromatic
#29320B #536415 #7D9720 #A7C92B #BEDB56

Accessibility & contrast

On white

3.32
#7D9720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#7D9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9720
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9720#FFFFFF#000000##000000
##7D97201.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#848F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7d9720;
/* rgb */ color: rgb(125, 151, 32);
/* oklch */ color: oklch(63.5% 0.142 121.7);
Tailwind
colors: {
  custom: {
    50: '#a6b566',
    500: '#7d9720',
    950: '#000000',
  },
}
SCSS
$custom: #7d9720;
$custom-light: #a6b566;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9720",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 73.109,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63452,
    "c": 0.14176,
    "h": 121.7
  },
  "luminance": 0.26597
}

Semantic roles & 50–950 ramp

primary
#7D9720
secondary
#6B54BF
accent
#40E865
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9720

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

Preview Lab → · Contrast checker → · Palette generator →

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