#7CA42C#7CA42C

#7CA42C is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.6% C 0.151 H 126.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7CA42C
RGBrgb(124, 164, 44)
HSLhsl(80, 58%, 41%)
HSVhsv(80, 73%, 64%)
CMYKcmyk(24.4%, 0%, 73.2%, 35.7%)
CIE-LABlab(62.52, -31.27, 54.48)
CIE-LCHlch(62.52, 62.81, 119.85°)
OKLaboklab(66.63% -0.09 0.1218)
OKLCHoklch(66.63% 0.151 126.5)
XYZxyz(22.0424, 31.0175, 7.2081)
Luminance0.3102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA42C #542CA4
analogous
#A4902C #7CA42C #40A42C
triadic
#7CA42C #2C7CA4 #A42C7C
tetradic
#7CA42C #2CA490 #542CA4 #A42C40
square
#7CA42C #2CA490 #542CA4 #A42C40
split-complementary
#7CA42C #2C40A4 #902CA4
monochromatic
#334312 #58741F #7CA42C #9ECC41 #B6D971

Accessibility & contrast

On white

2.92
#7CA42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#7CA42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA42C
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA42C#FFFFFF#000000##000000
##7CA42C1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9916
Deuteranopia (green-blind)
#A79737
Tritanopia (blue-blind)
#819C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ca42c;
/* rgb */ color: rgb(124, 164, 44);
/* oklch */ color: oklch(66.6% 0.151 126.5);
Tailwind
colors: {
  custom: {
    50: '#a5bf6d',
    500: '#7ca42c',
    950: '#000000',
  },
}
SCSS
$custom: #7ca42c;
$custom-light: #a5bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca42c",
  "rgb": {
    "r": 124,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 80,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66631,
    "c": 0.15142,
    "h": 126.5
  },
  "luminance": 0.31018
}

Semantic roles & 50–950 ramp

primary
#7CA42C
secondary
#886BC0
accent
#47E17A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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