#7CB240#7CB240

#7CB240 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.2% C 0.155 H 131.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7CB240
RGBrgb(124, 178, 64)
HSLhsl(88, 47%, 47%)
HSVhsv(88, 64%, 70%)
CMYKcmyk(30.3%, 0%, 64%, 30.2%)
CIE-LABlab(66.90, -36.28, 51.01)
CIE-LCHlch(66.90, 62.60, 125.42°)
OKLaboklab(70.23% -0.102 0.1173)
OKLCHoklch(70.23% 0.155 131)
XYZxyz(25.1577, 36.4953, 10.5683)
Luminance0.3650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB240 #7640B2
analogous
#B2AF40 #7CB240 #43B240
triadic
#7CB240 #407CB2 #B2407C
tetradic
#7CB240 #40B2AF #7640B2 #B24043
square
#7CB240 #40B2AF #7640B2 #B24043
split-complementary
#7CB240 #4043B2 #AF40B2
monochromatic
#3D5820 #5D8530 #7CB240 #9AC867 #B8D894

Accessibility & contrast

On white

2.53
#7CB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#7CB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB240
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB240#FFFFFF#000000##000000
##7CB2401.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA532
Deuteranopia (green-blind)
#B2A149
Tritanopia (blue-blind)
#7EAB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7cb240;
/* rgb */ color: rgb(124, 178, 64);
/* oklch */ color: oklch(70.2% 0.155 131.0);
Tailwind
colors: {
  custom: {
    50: '#a5c97a',
    500: '#7cb240',
    950: '#000000',
  },
}
SCSS
$custom: #7cb240;
$custom-light: #a5c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb240",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 88.421,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7023,
    "c": 0.15549,
    "h": 131
  },
  "luminance": 0.36496
}

Semantic roles & 50–950 ramp

primary
#7CB240
secondary
#A58AC4
accent
#51D790
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7CB240

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

Preview Lab → · Contrast checker → · Palette generator →

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