#7CA940#7CA940

#7CA940 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.0% C 0.143 H 129.2°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7CA940
RGBrgb(124, 169, 64)
HSLhsl(86, 45%, 46%)
HSVhsv(86, 62%, 66%)
CMYKcmyk(26.6%, 0%, 62.1%, 33.7%)
CIE-LABlab(64.19, -32.14, 48.04)
CIE-LCHlch(64.19, 57.80, 123.78°)
OKLaboklab(68.03% -0.0906 0.111)
OKLCHoklch(68.03% 0.143 129.2)
XYZxyz(23.4254, 33.0306, 9.9908)
Luminance0.3303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA940 #6D40A9
analogous
#A9A140 #7CA940 #48A940
triadic
#7CA940 #407CA9 #A9407C
tetradic
#7CA940 #40A9A1 #6D40A9 #A94048
square
#7CA940 #40A9A1 #6D40A9 #A94048
split-complementary
#7CA940 #4048A9 #A140A9
monochromatic
#3B501E #5B7D2F #7CA940 #9AC462 #B7D58F

Accessibility & contrast

On white

2.76
#7CA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#7CA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA940
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA940#FFFFFF#000000##000000
##7CA9401.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#AA9B48
Tritanopia (blue-blind)
#7FA293
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7ca940;
/* rgb */ color: rgb(124, 169, 64);
/* oklch */ color: oklch(68.0% 0.143 129.2);
Tailwind
colors: {
  custom: {
    50: '#a5c279',
    500: '#7ca940',
    950: '#000000',
  },
}
SCSS
$custom: #7ca940;
$custom-light: #a5c279;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca940",
  "rgb": {
    "r": 124,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 85.714,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68029,
    "c": 0.14334,
    "h": 129.2
  },
  "luminance": 0.33031
}

Semantic roles & 50–950 ramp

primary
#7CA940
secondary
#9E85C0
accent
#53D58B
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7CA940

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

Preview Lab → · Contrast checker → · Palette generator →

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