#40994F#40994F

#40994F is a mid, vivid green. Relative luminance 0.244; OKLCH L 61.1% C 0.138 H 147.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#40994F
RGBrgb(64, 153, 79)
HSLhsl(130, 41%, 43%)
HSVhsv(130, 58%, 60%)
CMYKcmyk(58.2%, 0%, 48.4%, 40%)
CIE-LABlab(56.52, -42.90, 30.98)
CIE-LCHlch(56.52, 52.91, 144.17°)
OKLaboklab(61.06% -0.1161 0.0755)
OKLCHoklch(61.06% 0.138 147)
XYZxyz(14.9159, 24.4356, 11.3261)
Luminance0.2444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40994F #99408A
analogous
#5E9940 #40994F #40997B
triadic
#40994F #4F4099 #994F40
tetradic
#40994F #405E99 #99408A #997B40
square
#40994F #405E99 #99408A #997B40
split-complementary
#40994F #7B4099 #99405E
monochromatic
#1C4322 #2E6E39 #40994F #5CBB6C #87CD93

Accessibility & contrast

On white

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

On black

5.89
#40994F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40994F
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40994F#FFFFFF#000000##000000
##40994F1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8C49
Deuteranopia (green-blind)
#8F8454
Tritanopia (blue-blind)
#2D9687
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #40994f;
/* rgb */ color: rgb(64, 153, 79);
/* oklch */ color: oklch(61.1% 0.138 147.0);
Tailwind
colors: {
  custom: {
    50: '#7db881',
    500: '#40994f',
    950: '#000000',
  },
}
SCSS
$custom: #40994f;
$custom-light: #7db881;
$custom-dark: #000000;
JSON
{
  "hex": "#40994f",
  "rgb": {
    "r": 64,
    "g": 153,
    "b": 79
  },
  "hsl": {
    "h": 130.112,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.61062,
    "c": 0.13847,
    "h": 147
  },
  "luminance": 0.24437
}

Semantic roles & 50–950 ramp

primary
#40994F
secondary
#B77EAE
accent
#57BCD1
background
#F8FBF8
surface
#EFF6EF
border
#CAD0CA
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40994F

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

Preview Lab → · Contrast checker → · Palette generator →

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