#7CB140#7CB140

#7CB140 is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.0% C 0.154 H 130.8°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7CB140
RGBrgb(124, 177, 64)
HSLhsl(88, 47%, 47%)
HSVhsv(88, 64%, 69%)
CMYKcmyk(29.9%, 0%, 63.8%, 30.6%)
CIE-LABlab(66.60, -35.83, 50.68)
CIE-LCHlch(66.60, 62.07, 125.26°)
OKLaboklab(69.99% -0.1008 0.1166)
OKLCHoklch(69.99% 0.154 130.8)
XYZxyz(24.9595, 36.0988, 10.5022)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB140 #7540B1
analogous
#B1AE40 #7CB140 #43B140
triadic
#7CB140 #407CB1 #B1407C
tetradic
#7CB140 #40B1AE #7540B1 #B14043
square
#7CB140 #40B1AE #7540B1 #B14043
split-complementary
#7CB140 #4043B1 #AE40B1
monochromatic
#3D571F #5D8430 #7CB140 #9AC866 #B8D893

Accessibility & contrast

On white

2.55
#7CB140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#7CB140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB140
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB140#FFFFFF#000000##000000
##7CB1401.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A532
Deuteranopia (green-blind)
#B1A149
Tritanopia (blue-blind)
#7EAA99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7cb140;
/* rgb */ color: rgb(124, 177, 64);
/* oklch */ color: oklch(70.0% 0.154 130.8);
Tailwind
colors: {
  custom: {
    50: '#a5c87a',
    500: '#7cb140',
    950: '#000000',
  },
}
SCSS
$custom: #7cb140;
$custom-light: #a5c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb140",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 88.142,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.69985,
    "c": 0.15415,
    "h": 130.8
  },
  "luminance": 0.361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7CB140

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

Preview Lab → · Contrast checker → · Palette generator →

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