#40974A#40974A

#40974A is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.4% C 0.140 H 145.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#40974A
RGBrgb(64, 151, 74)
HSLhsl(127, 40%, 42%)
HSVhsv(127, 58%, 59%)
CMYKcmyk(57.6%, 0%, 51%, 40.8%)
CIE-LABlab(55.80, -42.85, 32.68)
CIE-LCHlch(55.80, 53.89, 142.66°)
OKLaboklab(60.45% -0.1161 0.079)
OKLCHoklch(60.45% 0.14 145.8)
XYZxyz(14.4161, 23.7163, 10.2953)
Luminance0.2372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40974A #97408D
analogous
#619740 #40974A #409776
triadic
#40974A #4A4097 #974A40
tetradic
#40974A #406197 #97408D #977640
square
#40974A #406197 #97408D #977640
split-complementary
#40974A #764097 #974061
monochromatic
#1C4120 #2E6C35 #40974A #5BB966 #86CC8E

Accessibility & contrast

On white

3.66
#40974A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#40974A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40974A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40974A#FFFFFF#000000##000000
##40974A1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A43
Deuteranopia (green-blind)
#8E834F
Tritanopia (blue-blind)
#2F9485
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40974a;
/* rgb */ color: rgb(64, 151, 74);
/* oklch */ color: oklch(60.4% 0.140 145.8);
Tailwind
colors: {
  custom: {
    50: '#7db67e',
    500: '#40974a',
    950: '#000000',
  },
}
SCSS
$custom: #40974a;
$custom-light: #7db67e;
$custom-dark: #000000;
JSON
{
  "hex": "#40974a",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 74
  },
  "hsl": {
    "h": 126.897,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.14043,
    "h": 145.8
  },
  "luminance": 0.23718
}

Semantic roles & 50–950 ramp

primary
#40974A
secondary
#B67DB0
accent
#57C2D0
background
#F8FBF7
surface
#EFF6EE
border
#CAD0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40974A

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

Preview Lab → · Contrast checker → · Palette generator →

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