#7CB142#7CB142

#7CB142 is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.0% C 0.153 H 131.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7CB142
RGBrgb(124, 177, 66)
HSLhsl(89, 46%, 48%)
HSVhsv(89, 63%, 69%)
CMYKcmyk(29.9%, 0%, 62.7%, 30.6%)
CIE-LABlab(66.61, -35.66, 49.84)
CIE-LCHlch(66.61, 61.28, 125.58°)
OKLaboklab(70.01% -0.1001 0.1151)
OKLCHoklch(70.01% 0.153 131)
XYZxyz(25.0174, 36.1219, 10.8073)
Luminance0.3612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB142 #7742B1
analogous
#B1AF42 #7CB142 #44B142
triadic
#7CB142 #427CB1 #B1427C
tetradic
#7CB142 #42B1AF #7742B1 #B14244
square
#7CB142 #42B1AF #7742B1 #B14244
split-complementary
#7CB142 #4244B1 #AF42B1
monochromatic
#3E5821 #5D8431 #7CB142 #9AC769 #B8D896

Accessibility & contrast

On white

2.55
#7CB142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#7CB142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB142
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB142#FFFFFF#000000##000000
##7CB1421.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A535
Deuteranopia (green-blind)
#B1A14A
Tritanopia (blue-blind)
#7EAA9A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7cb142;
/* rgb */ color: rgb(124, 177, 66);
/* oklch */ color: oklch(70.0% 0.153 131.0);
Tailwind
colors: {
  custom: {
    50: '#a5c87b',
    500: '#7cb142',
    950: '#000000',
  },
}
SCSS
$custom: #7cb142;
$custom-light: #a5c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb142",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 88.649,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70005,
    "c": 0.15256,
    "h": 131
  },
  "luminance": 0.36123
}

Semantic roles & 50–950 ramp

primary
#7CB142
secondary
#A68BC3
accent
#52D591
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7CB142

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

Preview Lab → · Contrast checker → · Palette generator →

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