#7CB840#7CB840

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

Color values

HEX#7CB840
RGBrgb(124, 184, 64)
HSLhsl(90, 48%, 49%)
HSVhsv(90, 65%, 72%)
CMYKcmyk(32.6%, 0%, 65.2%, 27.8%)
CIE-LABlab(68.70, -38.97, 52.96)
CIE-LCHlch(68.70, 65.75, 126.34°)
OKLaboklab(71.7% -0.1094 0.1215)
OKLCHoklch(71.7% 0.163 132)
XYZxyz(26.3778, 38.9353, 10.9750)
Luminance0.3894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB840 #7C40B8
analogous
#B8B840 #7CB840 #40B840
triadic
#7CB840 #407CB8 #B8407C
tetradic
#7CB840 #40B8B8 #7C40B8 #B84040
square
#7CB840 #40B8B8 #7C40B8 #B84040
split-complementary
#7CB840 #4040B8 #B840B8
monochromatic
#3F5D20 #5D8B30 #7CB840 #9BCB6A #B9DB97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CB840#FFFFFF#000000##000000
##7CB8401.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)
#C0AB30
Deuteranopia (green-blind)
#B7A64A
Tritanopia (blue-blind)
#7EB19F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7cb840;
/* rgb */ color: rgb(124, 184, 64);
/* oklch */ color: oklch(71.7% 0.163 132.0);
Tailwind
colors: {
  custom: {
    50: '#a6cd7a',
    500: '#7cb840',
    950: '#000000',
  },
}
SCSS
$custom: #7cb840;
$custom-light: #a6cd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb840",
  "rgb": {
    "r": 124,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 90,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71701,
    "c": 0.16346,
    "h": 132
  },
  "luminance": 0.38936
}

Semantic roles & 50–950 ramp

primary
#7CB840
secondary
#AA8DC7
accent
#50D894
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7CB840

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

Preview Lab → · Contrast checker → · Palette generator →

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