#7CAB40#7CAB40

#7CAB40 is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.5% C 0.146 H 129.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7CAB40
RGBrgb(124, 171, 64)
HSLhsl(86, 46%, 46%)
HSVhsv(86, 63%, 67%)
CMYKcmyk(27.5%, 0%, 62.6%, 32.9%)
CIE-LABlab(64.79, -33.07, 48.71)
CIE-LCHlch(64.79, 58.87, 124.18°)
OKLaboklab(68.52% -0.0932 0.1125)
OKLCHoklch(68.52% 0.146 129.7)
XYZxyz(23.8003, 33.7805, 10.1158)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAB40 #6F40AB
analogous
#ABA440 #7CAB40 #46AB40
triadic
#7CAB40 #407CAB #AB407C
tetradic
#7CAB40 #40ABA4 #6F40AB #AB4046
square
#7CAB40 #40ABA4 #6F40AB #AB4046
split-complementary
#7CAB40 #4046AB #A440AB
monochromatic
#3B521F #5C7E2F #7CAB40 #9AC563 #B7D590

Accessibility & contrast

On white

2.71
#7CAB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#7CAB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAB40
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAB40#FFFFFF#000000##000000
##7CAB401.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F33
Deuteranopia (green-blind)
#AC9C48
Tritanopia (blue-blind)
#7FA494
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7cab40;
/* rgb */ color: rgb(124, 171, 64);
/* oklch */ color: oklch(68.5% 0.146 129.7);
Tailwind
colors: {
  custom: {
    50: '#a5c479',
    500: '#7cab40',
    950: '#000000',
  },
}
SCSS
$custom: #7cab40;
$custom-light: #a5c479;
$custom-dark: #000000;
JSON
{
  "hex": "#7cab40",
  "rgb": {
    "r": 124,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 86.355,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.68517,
    "c": 0.14606,
    "h": 129.7
  },
  "luminance": 0.33781
}

Semantic roles & 50–950 ramp

primary
#7CAB40
secondary
#A086C1
accent
#53D58C
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7CAB40

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

Preview Lab → · Contrast checker → · Palette generator →

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