#7C9420#7C9420

#7C9420 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.6% C 0.139 H 121.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7C9420
RGBrgb(124, 148, 32)
HSLhsl(72, 64%, 35%)
HSVhsv(72, 78%, 58%)
CMYKcmyk(16.2%, 0%, 78.4%, 42%)
CIE-LABlab(57.63, -24.17, 53.95)
CIE-LCHlch(57.63, 59.12, 114.13°)
OKLaboklab(62.65% -0.0715 0.1187)
OKLCHoklch(62.65% 0.139 121.1)
XYZxyz(19.1631, 25.5692, 5.2920)
Luminance0.2557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9420 #382094
analogous
#947220 #7C9420 #429420
triadic
#7C9420 #207C94 #94207C
tetradic
#7C9420 #209472 #382094 #942042
square
#7C9420 #209472 #382094 #942042
split-complementary
#7C9420 #204294 #722094
monochromatic
#282F0A #526215 #7C9420 #A6C62B #BEDA54

Accessibility & contrast

On white

3.43
#7C9420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#7C9420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9420
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9420#FFFFFF#000000##000000
##7C94201.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B01
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#838C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c9420;
/* rgb */ color: rgb(124, 148, 32);
/* oklch */ color: oklch(62.6% 0.139 121.1);
Tailwind
colors: {
  custom: {
    50: '#a5b366',
    500: '#7c9420',
    950: '#000000',
  },
}
SCSS
$custom: #7c9420;
$custom-light: #a5b366;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9420",
  "rgb": {
    "r": 124,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 72.414,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62648,
    "c": 0.13857,
    "h": 121.1
  },
  "luminance": 0.25569
}

Semantic roles & 50–950 ramp

primary
#7C9420
secondary
#6852BE
accent
#40E763
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9420

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

Preview Lab → · Contrast checker → · Palette generator →

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