#7CB340#7CB340

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

Color values

HEX#7CB340
RGBrgb(124, 179, 64)
HSLhsl(89, 47%, 48%)
HSVhsv(89, 64%, 70%)
CMYKcmyk(30.7%, 0%, 64.2%, 29.8%)
CIE-LABlab(67.20, -36.73, 51.34)
CIE-LCHlch(67.20, 63.13, 125.58°)
OKLaboklab(70.47% -0.1033 0.118)
OKLCHoklch(70.47% 0.157 131.2)
XYZxyz(25.3574, 36.8946, 10.6349)
Luminance0.3690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB340 #7740B3
analogous
#B3B140 #7CB340 #42B340
triadic
#7CB340 #407CB3 #B3407C
tetradic
#7CB340 #40B3B1 #7740B3 #B34042
square
#7CB340 #40B3B1 #7740B3 #B34042
split-complementary
#7CB340 #4042B3 #B140B3
monochromatic
#3E5920 #5D8630 #7CB340 #9AC967 #B8D994

Accessibility & contrast

On white

2.51
#7CB340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CB340#FFFFFF#000000##000000
##7CB3401.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7cb340;
/* rgb */ color: rgb(124, 179, 64);
/* oklch */ color: oklch(70.5% 0.157 131.2);
Tailwind
colors: {
  custom: {
    50: '#a5ca7a',
    500: '#7cb340',
    950: '#000000',
  },
}
SCSS
$custom: #7cb340;
$custom-light: #a5ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb340",
  "rgb": {
    "r": 124,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 88.696,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70475,
    "c": 0.15682,
    "h": 131.2
  },
  "luminance": 0.36895
}

Semantic roles & 50–950 ramp

primary
#7CB340
secondary
#A68AC4
accent
#51D791
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7CB340

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

Preview Lab → · Contrast checker → · Palette generator →

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