#7C9820#7C9820

#7C9820 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.6% C 0.143 H 122.4°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7C9820
RGBrgb(124, 152, 32)
HSLhsl(74, 65%, 36%)
HSVhsv(74, 79%, 60%)
CMYKcmyk(18.4%, 0%, 78.9%, 40.4%)
CIE-LABlab(58.83, -26.14, 55.07)
CIE-LCHlch(58.83, 60.96, 115.39°)
OKLaboklab(63.62% -0.0769 0.121)
OKLCHoklch(63.62% 0.143 122.4)
XYZxyz(19.8014, 26.8458, 5.5048)
Luminance0.2685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9820 #3C2098
analogous
#987820 #7C9820 #409820
triadic
#7C9820 #207C98 #98207C
tetradic
#7C9820 #209878 #3C2098 #982040
square
#7C9820 #209878 #3C2098 #982040
split-complementary
#7C9820 #204098 #782098
monochromatic
#2A330B #536515 #7C9820 #A5CB2B #BDDC57

Accessibility & contrast

On white

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

On black

6.37
#7C9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9820
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9820#FFFFFF#000000##000000
##7C98201.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c9820;
/* rgb */ color: rgb(124, 152, 32);
/* oklch */ color: oklch(63.6% 0.143 122.4);
Tailwind
colors: {
  custom: {
    50: '#a5b666',
    500: '#7c9820',
    950: '#000000',
  },
}
SCSS
$custom: #7c9820;
$custom-light: #a5b666;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9820",
  "rgb": {
    "r": 124,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 74,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63621,
    "c": 0.14342,
    "h": 122.4
  },
  "luminance": 0.26846
}

Semantic roles & 50–950 ramp

primary
#7C9820
secondary
#6D54BF
accent
#40E867
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9820

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

Preview Lab → · Contrast checker → · Palette generator →

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