#7CB42B#7CB42B

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

Color values

HEX#7CB42B
RGBrgb(124, 180, 43)
HSLhsl(85, 61%, 44%)
HSVhsv(85, 76%, 71%)
CMYKcmyk(31.1%, 0%, 76.1%, 29.4%)
CIE-LABlab(67.35, -38.62, 59.51)
CIE-LCHlch(67.35, 70.94, 122.99°)
OKLaboklab(70.55% -0.1101 0.1322)
OKLCHoklch(70.55% 0.172 129.8)
XYZxyz(25.0694, 37.1012, 8.1255)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB42B #632BB4
analogous
#B4A72B #7CB42B #37B42B
triadic
#7CB42B #2B7CB4 #B42B7C
tetradic
#7CB42B #2BB4A7 #632BB4 #B42B37
square
#7CB42B #2BB4A7 #632BB4 #B42B37
split-complementary
#7CB42B #2B37B4 #A72BB4
monochromatic
#385113 #5A831F #7CB42B #9BD349 #B6DF7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CB42B#FFFFFF#000000##000000
##7CB42B1.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)
#BDA709
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#7FAC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7cb42b;
/* rgb */ color: rgb(124, 180, 43);
/* oklch */ color: oklch(70.6% 0.172 129.8);
Tailwind
colors: {
  custom: {
    50: '#a6ca6f',
    500: '#7cb42b',
    950: '#000000',
  },
}
SCSS
$custom: #7cb42b;
$custom-light: #a6ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb42b",
  "rgb": {
    "r": 124,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 84.526,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70554,
    "c": 0.17203,
    "h": 129.8
  },
  "luminance": 0.37102
}

Semantic roles & 50–950 ramp

primary
#7CB42B
secondary
#9673C7
accent
#43E585
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB42B

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

Preview Lab → · Contrast checker → · Palette generator →

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