#7CAA40#7CAA40

#7CAA40 is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 68.3% C 0.145 H 129.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7CAA40
RGBrgb(124, 170, 64)
HSLhsl(86, 45%, 46%)
HSVhsv(86, 62%, 67%)
CMYKcmyk(27.1%, 0%, 62.4%, 33.3%)
CIE-LABlab(64.49, -32.61, 48.38)
CIE-LCHlch(64.49, 58.34, 123.98°)
OKLaboklab(68.27% -0.0919 0.1118)
OKLCHoklch(68.27% 0.145 129.4)
XYZxyz(23.6122, 33.4041, 10.0531)
Luminance0.3341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAA40 #6E40AA
analogous
#AAA340 #7CAA40 #47AA40
triadic
#7CAA40 #407CAA #AA407C
tetradic
#7CAA40 #40AAA3 #6E40AA #AA4047
square
#7CAA40 #40AAA3 #6E40AA #AA4047
split-complementary
#7CAA40 #4047AA #A340AA
monochromatic
#3B511F #5C7E2F #7CAA40 #9AC463 #B7D58F

Accessibility & contrast

On white

2.73
#7CAA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#7CAA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAA40
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAA40#FFFFFF#000000##000000
##7CAA401.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E34
Deuteranopia (green-blind)
#AB9B48
Tritanopia (blue-blind)
#7FA394
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7caa40;
/* rgb */ color: rgb(124, 170, 64);
/* oklch */ color: oklch(68.3% 0.145 129.4);
Tailwind
colors: {
  custom: {
    50: '#a5c379',
    500: '#7caa40',
    950: '#000000',
  },
}
SCSS
$custom: #7caa40;
$custom-light: #a5c379;
$custom-dark: #000000;
JSON
{
  "hex": "#7caa40",
  "rgb": {
    "r": 124,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 86.038,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68273,
    "c": 0.1447,
    "h": 129.4
  },
  "luminance": 0.33405
}

Semantic roles & 50–950 ramp

primary
#7CAA40
secondary
#9F86C0
accent
#53D58B
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7CAA40

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

Preview Lab → · Contrast checker → · Palette generator →

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