#7CB842#7CB842

#7CB842 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 71.7% C 0.162 H 132.2°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#7CB842
RGBrgb(124, 184, 66)
HSLhsl(91, 47%, 49%)
HSVhsv(91, 64%, 72%)
CMYKcmyk(32.6%, 0%, 64.1%, 27.8%)
CIE-LABlab(68.72, -38.80, 52.14)
CIE-LCHlch(68.72, 64.99, 126.66°)
OKLaboklab(71.72% -0.1088 0.12)
OKLCHoklch(71.72% 0.162 132.2)
XYZxyz(26.4357, 38.9585, 11.2801)
Luminance0.3896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB842 #7E42B8
analogous
#B7B842 #7CB842 #42B843
triadic
#7CB842 #427CB8 #B8427C
tetradic
#7CB842 #42B7B8 #7E42B8 #B84342
square
#7CB842 #42B7B8 #7E42B8 #B84342
split-complementary
#7CB842 #4342B8 #B842B7
monochromatic
#3F5E22 #5E8B32 #7CB842 #9BCB6D #BADB9A

Accessibility & contrast

On white

2.39
#7CB842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#7CB842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB842
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB842#FFFFFF#000000##000000
##7CB8421.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB33
Deuteranopia (green-blind)
#B7A64B
Tritanopia (blue-blind)
#7DB19F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7cb842;
/* rgb */ color: rgb(124, 184, 66);
/* oklch */ color: oklch(71.7% 0.162 132.2);
Tailwind
colors: {
  custom: {
    50: '#a6cd7c',
    500: '#7cb842',
    950: '#000000',
  },
}
SCSS
$custom: #7cb842;
$custom-light: #a6cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb842",
  "rgb": {
    "r": 124,
    "g": 184,
    "b": 66
  },
  "hsl": {
    "h": 90.508,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7172,
    "c": 0.16193,
    "h": 132.2
  },
  "luminance": 0.38959
}

Semantic roles & 50–950 ramp

primary
#7CB842
secondary
#AB8FC7
accent
#51D795
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7CB842

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

Preview Lab → · Contrast checker → · Palette generator →

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