#7CB440#7CB440

#7CB440 is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 70.7% C 0.158 H 131.4°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7CB440
RGBrgb(124, 180, 64)
HSLhsl(89, 48%, 48%)
HSVhsv(89, 64%, 71%)
CMYKcmyk(31.1%, 0%, 64.4%, 29.4%)
CIE-LABlab(67.50, -37.18, 51.67)
CIE-LCHlch(67.50, 63.65, 125.74°)
OKLaboklab(70.72% -0.1045 0.1187)
OKLCHoklch(70.72% 0.158 131.4)
XYZxyz(25.5586, 37.2969, 10.7019)
Luminance0.3730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB440 #7840B4
analogous
#B4B240 #7CB440 #42B440
triadic
#7CB440 #407CB4 #B4407C
tetradic
#7CB440 #40B4B2 #7840B4 #B44042
square
#7CB440 #40B4B2 #7840B4 #B44042
split-complementary
#7CB440 #4042B4 #B240B4
monochromatic
#3E5A20 #5D8730 #7CB440 #9AC968 #B8D995

Accessibility & contrast

On white

2.48
#7CB440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#7CB440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB440
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB440#FFFFFF#000000##000000
##7CB4401.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA731
Deuteranopia (green-blind)
#B4A349
Tritanopia (blue-blind)
#7EAD9C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7cb440;
/* rgb */ color: rgb(124, 180, 64);
/* oklch */ color: oklch(70.7% 0.158 131.4);
Tailwind
colors: {
  custom: {
    50: '#a6cb7a',
    500: '#7cb440',
    950: '#000000',
  },
}
SCSS
$custom: #7cb440;
$custom-light: #a6cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb440",
  "rgb": {
    "r": 124,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 88.966,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7072,
    "c": 0.15815,
    "h": 131.4
  },
  "luminance": 0.37298
}

Semantic roles & 50–950 ramp

primary
#7CB440
secondary
#A78BC5
accent
#51D792
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7CB440

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

Preview Lab → · Contrast checker → · Palette generator →

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