#40994A#40994A

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

Color values

HEX#40994A
RGBrgb(64, 153, 74)
HSLhsl(127, 41%, 43%)
HSVhsv(127, 58%, 60%)
CMYKcmyk(58.2%, 0%, 51.6%, 40%)
CIE-LABlab(56.45, -43.66, 33.48)
CIE-LCHlch(56.45, 55.02, 142.51°)
OKLaboklab(60.98% -0.1183 0.0808)
OKLCHoklch(60.98% 0.143 145.7)
XYZxyz(14.7407, 24.3655, 10.4035)
Luminance0.2437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40994A #99408F
analogous
#629940 #40994A #409977
triadic
#40994A #4A4099 #994A40
tetradic
#40994A #406299 #99408F #997740
square
#40994A #406299 #99408F #997740
split-complementary
#40994A #774099 #994062
monochromatic
#1C4320 #2E6E35 #40994A #5CBB66 #87CD8F

Accessibility & contrast

On white

3.58
#40994A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#40994A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40994A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40994A#FFFFFF#000000##000000
##40994A1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8C43
Deuteranopia (green-blind)
#908450
Tritanopia (blue-blind)
#2E9587
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40994a;
/* rgb */ color: rgb(64, 153, 74);
/* oklch */ color: oklch(61.0% 0.143 145.7);
Tailwind
colors: {
  custom: {
    50: '#7db87e',
    500: '#40994a',
    950: '#000000',
  },
}
SCSS
$custom: #40994a;
$custom-light: #7db87e;
$custom-dark: #000000;
JSON
{
  "hex": "#40994a",
  "rgb": {
    "r": 64,
    "g": 153,
    "b": 74
  },
  "hsl": {
    "h": 126.742,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60982,
    "c": 0.14325,
    "h": 145.7
  },
  "luminance": 0.24367
}

Semantic roles & 50–950 ramp

primary
#40994A
secondary
#B77EB1
accent
#57C3D1
background
#F8FBF7
surface
#EFF6EE
border
#CAD0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40994A

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

Preview Lab → · Contrast checker → · Palette generator →

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