#7CB040#7CB040

#7CB040 is a light, vivid yellow-green. Relative luminance 0.357; OKLCH L 69.7% C 0.153 H 130.6°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7CB040
RGBrgb(124, 176, 64)
HSLhsl(88, 47%, 47%)
HSVhsv(88, 64%, 69%)
CMYKcmyk(29.5%, 0%, 63.6%, 31%)
CIE-LABlab(66.29, -35.37, 50.36)
CIE-LCHlch(66.29, 61.54, 125.09°)
OKLaboklab(69.74% -0.0995 0.116)
OKLCHoklch(69.74% 0.153 130.6)
XYZxyz(24.7627, 35.7052, 10.4366)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB040 #7440B0
analogous
#B0AC40 #7CB040 #44B040
triadic
#7CB040 #407CB0 #B0407C
tetradic
#7CB040 #40B0AC #7440B0 #B04044
square
#7CB040 #40B0AC #7440B0 #B04044
split-complementary
#7CB040 #4044B0 #AC40B0
monochromatic
#3D561F #5C8330 #7CB040 #9AC766 #B8D893

Accessibility & contrast

On white

2.58
#7CB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#7CB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB040
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB040#FFFFFF#000000##000000
##7CB0401.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A432
Deuteranopia (green-blind)
#B0A049
Tritanopia (blue-blind)
#7FA999
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7cb040;
/* rgb */ color: rgb(124, 176, 64);
/* oklch */ color: oklch(69.7% 0.153 130.6);
Tailwind
colors: {
  custom: {
    50: '#a5c87a',
    500: '#7cb040',
    950: '#000000',
  },
}
SCSS
$custom: #7cb040;
$custom-light: #a5c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb040",
  "rgb": {
    "r": 124,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 87.857,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.6974,
    "c": 0.15282,
    "h": 130.6
  },
  "luminance": 0.35706
}

Semantic roles & 50–950 ramp

primary
#7CB040
secondary
#A489C3
accent
#51D68F
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7CB040

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

Preview Lab → · Contrast checker → · Palette generator →

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