#7D9820#7D9820

#7D9820 is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.7% C 0.143 H 122.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7D9820
RGBrgb(125, 152, 32)
HSLhsl(74, 65%, 36%)
HSVhsv(74, 79%, 60%)
CMYKcmyk(17.8%, 0%, 78.9%, 40.4%)
CIE-LABlab(58.90, -25.72, 55.16)
CIE-LCHlch(58.90, 60.86, 115.00°)
OKLaboklab(63.7% -0.0758 0.1212)
OKLCHoklch(63.7% 0.143 122)
XYZxyz(19.9467, 26.9207, 5.5116)
Luminance0.2692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9820 #3B2098
analogous
#987720 #7D9820 #419820
triadic
#7D9820 #207D98 #98207D
tetradic
#7D9820 #209877 #3B2098 #982041
square
#7D9820 #209877 #3B2098 #982041
split-complementary
#7D9820 #204198 #772098
monochromatic
#2A330B #536515 #7D9820 #A7CB2B #BEDC57

Accessibility & contrast

On white

3.29
#7D9820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#7D9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9820
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9820#FFFFFF#000000##000000
##7D98201.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9E8E2C
Tritanopia (blue-blind)
#849082
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d9820;
/* rgb */ color: rgb(125, 152, 32);
/* oklch */ color: oklch(63.7% 0.143 122.0);
Tailwind
colors: {
  custom: {
    50: '#a6b666',
    500: '#7d9820',
    950: '#000000',
  },
}
SCSS
$custom: #7d9820;
$custom-light: #a6b666;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9820",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 73.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63695,
    "c": 0.14296,
    "h": 122
  },
  "luminance": 0.26921
}

Semantic roles & 50–950 ramp

primary
#7D9820
secondary
#6C54BF
accent
#40E866
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9820

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

Preview Lab → · Contrast checker → · Palette generator →

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