#7CB540#7CB540

#7CB540 is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.0% C 0.159 H 131.5°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7CB540
RGBrgb(124, 181, 64)
HSLhsl(89, 48%, 48%)
HSVhsv(89, 65%, 71%)
CMYKcmyk(31.5%, 0%, 64.6%, 29%)
CIE-LABlab(67.80, -37.63, 51.99)
CIE-LCHlch(67.80, 64.18, 125.90°)
OKLaboklab(70.97% -0.1057 0.1194)
OKLCHoklch(70.97% 0.159 131.5)
XYZxyz(25.7612, 37.7021, 10.7694)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB540 #7940B5
analogous
#B5B340 #7CB540 #41B540
triadic
#7CB540 #407CB5 #B5407C
tetradic
#7CB540 #40B5B3 #7940B5 #B54041
square
#7CB540 #40B5B3 #7940B5 #B54041
split-complementary
#7CB540 #4041B5 #B340B5
monochromatic
#3E5B20 #5D8830 #7CB540 #9ACA68 #B9DA96

Accessibility & contrast

On white

2.46
#7CB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#7CB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB540
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB540#FFFFFF#000000##000000
##7CB5401.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#B5A449
Tritanopia (blue-blind)
#7EAE9D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7cb540;
/* rgb */ color: rgb(124, 181, 64);
/* oklch */ color: oklch(71.0% 0.159 131.5);
Tailwind
colors: {
  custom: {
    50: '#a6cb7a',
    500: '#7cb540',
    950: '#000000',
  },
}
SCSS
$custom: #7cb540;
$custom-light: #a6cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb540",
  "rgb": {
    "r": 124,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 89.231,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70965,
    "c": 0.15948,
    "h": 131.5
  },
  "luminance": 0.37703
}

Semantic roles & 50–950 ramp

primary
#7CB540
secondary
#A88BC5
accent
#50D792
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7CB540

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

Preview Lab → · Contrast checker → · Palette generator →

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