#7CB42A#7CB42A

#7CB42A is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.5% C 0.173 H 129.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7CB42A
RGBrgb(124, 180, 42)
HSLhsl(84, 62%, 44%)
HSVhsv(84, 77%, 71%)
CMYKcmyk(31.1%, 0%, 76.7%, 29.4%)
CIE-LABlab(67.35, -38.68, 59.83)
CIE-LCHlch(67.35, 71.24, 122.88°)
OKLaboklab(70.55% -0.1103 0.1327)
OKLCHoklch(70.55% 0.173 129.7)
XYZxyz(25.0513, 37.0940, 8.0300)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB42A #622AB4
analogous
#B4A72A #7CB42A #37B42A
triadic
#7CB42A #2A7CB4 #B42A7C
tetradic
#7CB42A #2AB4A7 #622AB4 #B42A37
square
#7CB42A #2AB4A7 #622AB4 #B42A37
split-complementary
#7CB42A #2A37B4 #A72AB4
monochromatic
#385113 #5A821E #7CB42A #9BD447 #B6E079

Accessibility & contrast

On white

2.49
#7CB42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#7CB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB42A
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB42A#FFFFFF#000000##000000
##7CB42A1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA705
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#7FAC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7cb42a;
/* rgb */ color: rgb(124, 180, 42);
/* oklch */ color: oklch(70.5% 0.173 129.7);
Tailwind
colors: {
  custom: {
    50: '#a7ca6e',
    500: '#7cb42a',
    950: '#000000',
  },
}
SCSS
$custom: #7cb42a;
$custom-light: #a7ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb42a",
  "rgb": {
    "r": 124,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 84.348,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70548,
    "c": 0.17257,
    "h": 129.7
  },
  "luminance": 0.37095
}

Semantic roles & 50–950 ramp

primary
#7CB42A
secondary
#9572C8
accent
#43E585
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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