#40994C#40994C

#40994C is a mid, vivid green. Relative luminance 0.244; OKLCH L 61.0% C 0.141 H 146.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#40994C
RGBrgb(64, 153, 76)
HSLhsl(128, 41%, 43%)
HSVhsv(128, 58%, 60%)
CMYKcmyk(58.2%, 0%, 50.3%, 40%)
CIE-LABlab(56.48, -43.36, 32.49)
CIE-LCHlch(56.48, 54.18, 143.16°)
OKLaboklab(61.01% -0.1174 0.0787)
OKLCHoklch(61.01% 0.141 146.2)
XYZxyz(14.8092, 24.3929, 10.7640)
Luminance0.2439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40994C #99408D
analogous
#609940 #40994C #409979
triadic
#40994C #4C4099 #994C40
tetradic
#40994C #406099 #99408D #997940
square
#40994C #406099 #99408D #997940
split-complementary
#40994C #794099 #994060
monochromatic
#1C4321 #2E6E37 #40994C #5CBB68 #87CD90

Accessibility & contrast

On white

3.57
#40994C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#40994C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40994C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40994C#FFFFFF#000000##000000
##40994C1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8C46
Deuteranopia (green-blind)
#8F8451
Tritanopia (blue-blind)
#2E9687
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40994c;
/* rgb */ color: rgb(64, 153, 76);
/* oklch */ color: oklch(61.0% 0.141 146.2);
Tailwind
colors: {
  custom: {
    50: '#7db87f',
    500: '#40994c',
    950: '#000000',
  },
}
SCSS
$custom: #40994c;
$custom-light: #7db87f;
$custom-dark: #000000;
JSON
{
  "hex": "#40994c",
  "rgb": {
    "r": 64,
    "g": 153,
    "b": 76
  },
  "hsl": {
    "h": 128.09,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.61013,
    "c": 0.14135,
    "h": 146.2
  },
  "luminance": 0.24394
}

Semantic roles & 50–950 ramp

primary
#40994C
secondary
#B77EAF
accent
#57C0D1
background
#F8FBF7
surface
#EFF6EE
border
#CAD0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40994C

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

Preview Lab → · Contrast checker → · Palette generator →

#40994C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva