#7C9220#7C9220

#7C9220 is a light, vivid yellow-green. Relative luminance 0.249; OKLCH L 62.2% C 0.136 H 120.4°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7C9220
RGBrgb(124, 146, 32)
HSLhsl(72, 64%, 35%)
HSVhsv(72, 78%, 57%)
CMYKcmyk(15.1%, 0%, 78.1%, 42.7%)
CIE-LABlab(57.02, -23.17, 53.40)
CIE-LCHlch(57.02, 58.20, 113.45°)
OKLaboklab(62.16% -0.0688 0.1175)
OKLCHoklch(62.16% 0.136 120.4)
XYZxyz(18.8521, 24.9472, 5.1884)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9220 #362092
analogous
#926F20 #7C9220 #439220
triadic
#7C9220 #207C92 #92207C
tetradic
#7C9220 #20926F #362092 #922043
square
#7C9220 #20926F #362092 #922043
split-complementary
#7C9220 #204392 #6F2092
monochromatic
#272E0A #516015 #7C9220 #A7C42B #BFD953

Accessibility & contrast

On white

3.51
#7C9220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#7C9220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9220
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9220#FFFFFF#000000##000000
##7C92201.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8902
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#838A7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7c9220;
/* rgb */ color: rgb(124, 146, 32);
/* oklch */ color: oklch(62.2% 0.136 120.4);
Tailwind
colors: {
  custom: {
    50: '#a5b265',
    500: '#7c9220',
    950: '#000000',
  },
}
SCSS
$custom: #7c9220;
$custom-light: #a5b265;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9220",
  "rgb": {
    "r": 124,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 71.579,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62162,
    "c": 0.13615,
    "h": 120.4
  },
  "luminance": 0.24947
}

Semantic roles & 50–950 ramp

primary
#7C9220
secondary
#6651BD
accent
#41E761
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C9220

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

Preview Lab → · Contrast checker → · Palette generator →

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