#7CA02A#7CA02A

#7CA02A is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.6% C 0.148 H 125.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7CA02A
RGBrgb(124, 160, 42)
HSLhsl(78, 58%, 40%)
HSVhsv(78, 74%, 63%)
CMYKcmyk(22.5%, 0%, 73.8%, 37.3%)
CIE-LABlab(61.30, -29.49, 54.01)
CIE-LCHlch(61.30, 61.53, 118.64°)
OKLaboklab(65.64% -0.0853 0.1205)
OKLCHoklch(65.64% 0.148 125.3)
XYZxyz(21.3011, 29.5936, 6.7799)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA02A #4E2AA0
analogous
#A0892A #7CA02A #41A02A
triadic
#7CA02A #2A7CA0 #A02A7C
tetradic
#7CA02A #2AA089 #4E2AA0 #A02A41
square
#7CA02A #2AA089 #4E2AA0 #A02A41
split-complementary
#7CA02A #2A41A0 #892AA0
monochromatic
#313F11 #56701D #7CA02A #A0CC3C #B7D86C

Accessibility & contrast

On white

3.04
#7CA02A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#7CA02A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7CA02A
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA02A#FFFFFF#000000##000000
##7CA02A1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99513
Deuteranopia (green-blind)
#A49435
Tritanopia (blue-blind)
#829889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ca02a;
/* rgb */ color: rgb(124, 160, 42);
/* oklch */ color: oklch(65.6% 0.148 125.3);
Tailwind
colors: {
  custom: {
    50: '#a5bc6c',
    500: '#7ca02a',
    950: '#000000',
  },
}
SCSS
$custom: #7ca02a;
$custom-light: #a5bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca02a",
  "rgb": {
    "r": 124,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 78.305,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65638,
    "c": 0.14762,
    "h": 125.3
  },
  "luminance": 0.29594
}

Semantic roles & 50–950 ramp

primary
#7CA02A
secondary
#8267BF
accent
#46E276
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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