#7CB342#7CB342

#7CB342 is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.5% C 0.155 H 131.4°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7CB342
RGBrgb(124, 179, 66)
HSLhsl(89, 46%, 48%)
HSVhsv(89, 63%, 70%)
CMYKcmyk(30.7%, 0%, 63.1%, 29.8%)
CIE-LABlab(67.22, -36.56, 50.50)
CIE-LCHlch(67.22, 62.34, 125.91°)
OKLaboklab(70.49% -0.1026 0.1165)
OKLCHoklch(70.49% 0.155 131.4)
XYZxyz(25.4154, 36.9178, 10.9400)
Luminance0.3692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB342 #7942B3
analogous
#B3B142 #7CB342 #43B342
triadic
#7CB342 #427CB3 #B3427C
tetradic
#7CB342 #42B3B1 #7942B3 #B34243
square
#7CB342 #42B3B1 #7942B3 #B34243
split-complementary
#7CB342 #4243B3 #B142B3
monochromatic
#3E5A21 #5D8632 #7CB342 #9AC86A #B9D997

Accessibility & contrast

On white

2.50
#7CB342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#7CB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB342
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB342#FFFFFF#000000##000000
##7CB3421.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA634
Deuteranopia (green-blind)
#B3A24B
Tritanopia (blue-blind)
#7EAC9B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7cb342;
/* rgb */ color: rgb(124, 179, 66);
/* oklch */ color: oklch(70.5% 0.155 131.4);
Tailwind
colors: {
  custom: {
    50: '#a5ca7b',
    500: '#7cb342',
    950: '#000000',
  },
}
SCSS
$custom: #7cb342;
$custom-light: #a5ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb342",
  "rgb": {
    "r": 124,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 89.204,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70495,
    "c": 0.15525,
    "h": 131.4
  },
  "luminance": 0.36919
}

Semantic roles & 50–950 ramp

primary
#7CB342
secondary
#A88CC4
accent
#52D692
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7CB342

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

Preview Lab → · Contrast checker → · Palette generator →

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