#7CA22C#7CA22C

#7CA22C is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.1% C 0.149 H 126.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7CA22C
RGBrgb(124, 162, 44)
HSLhsl(79, 57%, 40%)
HSVhsv(79, 73%, 64%)
CMYKcmyk(23.5%, 0%, 72.8%, 36.5%)
CIE-LABlab(61.92, -30.32, 53.88)
CIE-LCHlch(61.92, 61.83, 119.37°)
OKLaboklab(66.14% -0.0874 0.1205)
OKLCHoklch(66.14% 0.149 126)
XYZxyz(21.6872, 30.3073, 7.0897)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA22C #522CA2
analogous
#A28D2C #7CA22C #41A22C
triadic
#7CA22C #2C7CA2 #A22C7C
tetradic
#7CA22C #2CA28D #522CA2 #A22C41
square
#7CA22C #2CA28D #522CA2 #A22C41
split-complementary
#7CA22C #2C41A2 #8D2CA2
monochromatic
#324212 #57721F #7CA22C #9ECB40 #B7D870

Accessibility & contrast

On white

2.97
#7CA22C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#7CA22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA22C
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA22C#FFFFFF#000000##000000
##7CA22C1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9717
Deuteranopia (green-blind)
#A69536
Tritanopia (blue-blind)
#819A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ca22c;
/* rgb */ color: rgb(124, 162, 44);
/* oklch */ color: oklch(66.1% 0.149 126.0);
Tailwind
colors: {
  custom: {
    50: '#a5bd6d',
    500: '#7ca22c',
    950: '#000000',
  },
}
SCSS
$custom: #7ca22c;
$custom-light: #a5bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca22c",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 79.322,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66141,
    "c": 0.14889,
    "h": 126
  },
  "luminance": 0.30308
}

Semantic roles & 50–950 ramp

primary
#7CA22C
secondary
#866ABF
accent
#47E179
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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