#7CB42E#7CB42E

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

Color values

HEX#7CB42E
RGBrgb(124, 180, 46)
HSLhsl(85, 59%, 44%)
HSVhsv(85, 74%, 71%)
CMYKcmyk(31.1%, 0%, 74.4%, 29.4%)
CIE-LABlab(67.37, -38.45, 58.51)
CIE-LCHlch(67.37, 70.02, 123.31°)
OKLaboklab(70.57% -0.1094 0.1306)
OKLCHoklch(70.57% 0.17 130)
XYZxyz(25.1265, 37.1241, 8.4261)
Luminance0.3713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB42E #662EB4
analogous
#B4A92E #7CB42E #39B42E
triadic
#7CB42E #2E7CB4 #B42E7C
tetradic
#7CB42E #2EB4A9 #662EB4 #B42E39
square
#7CB42E #2EB4A9 #662EB4 #B42E39
split-complementary
#7CB42E #2E39B4 #A92EB4
monochromatic
#395315 #5A8322 #7CB42E #9AD24E #B6DE7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CB42E#FFFFFF#000000##000000
##7CB42E1.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)
#BCA712
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#7FAC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7cb42e;
/* rgb */ color: rgb(124, 180, 46);
/* oklch */ color: oklch(70.6% 0.170 130.0);
Tailwind
colors: {
  custom: {
    50: '#a6ca70',
    500: '#7cb42e',
    950: '#000000',
  },
}
SCSS
$custom: #7cb42e;
$custom-light: #a6ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb42e",
  "rgb": {
    "r": 124,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 85.075,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70573,
    "c": 0.17036,
    "h": 130
  },
  "luminance": 0.37125
}

Semantic roles & 50–950 ramp

primary
#7CB42E
secondary
#9877C7
accent
#45E287
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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