#7CA22D#7CA22D

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

Color values

HEX#7CA22D
RGBrgb(124, 162, 45)
HSLhsl(79, 57%, 41%)
HSVhsv(79, 72%, 64%)
CMYKcmyk(23.5%, 0%, 72.2%, 36.5%)
CIE-LABlab(61.92, -30.26, 53.52)
CIE-LCHlch(61.92, 61.48, 119.49°)
OKLaboklab(66.15% -0.0872 0.1199)
OKLCHoklch(66.15% 0.148 126)
XYZxyz(21.7063, 30.3149, 7.1899)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA22D #532DA2
analogous
#A28D2D #7CA22D #41A22D
triadic
#7CA22D #2D7CA2 #A22D7C
tetradic
#7CA22D #2DA28D #532DA2 #A22D41
square
#7CA22D #2DA28D #532DA2 #A22D41
split-complementary
#7CA22D #2D41A2 #8D2DA2
monochromatic
#334212 #577220 #7CA22D #9ECA42 #B7D872

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CA22D#FFFFFF#000000##000000
##7CA22D1.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)
#AB9719
Deuteranopia (green-blind)
#A69537
Tritanopia (blue-blind)
#819A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ca22d;
/* rgb */ color: rgb(124, 162, 45);
/* oklch */ color: oklch(66.1% 0.148 126.0);
Tailwind
colors: {
  custom: {
    50: '#a5bd6e',
    500: '#7ca22d',
    950: '#000000',
  },
}
SCSS
$custom: #7ca22d;
$custom-light: #a5bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca22d",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 79.487,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66148,
    "c": 0.14825,
    "h": 126
  },
  "luminance": 0.30315
}

Semantic roles & 50–950 ramp

primary
#7CA22D
secondary
#876CBF
accent
#48E079
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA22D

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

Preview Lab → · Contrast checker → · Palette generator →

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