#7CA22A#7CA22A

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

Color values

HEX#7CA22A
RGBrgb(124, 162, 42)
HSLhsl(79, 59%, 40%)
HSVhsv(79, 74%, 64%)
CMYKcmyk(23.5%, 0%, 74.1%, 36.5%)
CIE-LABlab(61.91, -30.44, 54.60)
CIE-LCHlch(61.91, 62.51, 119.14°)
OKLaboklab(66.13% -0.0879 0.1217)
OKLCHoklch(66.13% 0.15 125.8)
XYZxyz(21.6506, 30.2926, 6.8964)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA22A #502AA2
analogous
#A28C2A #7CA22A #40A22A
triadic
#7CA22A #2A7CA2 #A22A7C
tetradic
#7CA22A #2AA28C #502AA2 #A22A40
square
#7CA22A #2AA28C #502AA2 #A22A40
split-complementary
#7CA22A #2A40A2 #8C2AA2
monochromatic
#324111 #57711D #7CA22A #9FCD3D #B7D96D

Accessibility & contrast

On white

2.98
#7CA22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CA22A#FFFFFF#000000##000000
##7CA22A1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ca22a;
/* rgb */ color: rgb(124, 162, 42);
/* oklch */ color: oklch(66.1% 0.150 125.8);
Tailwind
colors: {
  custom: {
    50: '#a5bd6c',
    500: '#7ca22a',
    950: '#000000',
  },
}
SCSS
$custom: #7ca22a;
$custom-light: #a5bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca22a",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 79,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.66127,
    "c": 0.15014,
    "h": 125.8
  },
  "luminance": 0.30293
}

Semantic roles & 50–950 ramp

primary
#7CA22A
secondary
#8468C0
accent
#46E277
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA22A

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

Preview Lab → · Contrast checker → · Palette generator →

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