#40974C#40974C

#40974C is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.5% C 0.139 H 146.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#40974C
RGBrgb(64, 151, 76)
HSLhsl(128, 40%, 42%)
HSVhsv(128, 58%, 59%)
CMYKcmyk(57.6%, 0%, 49.7%, 40.8%)
CIE-LABlab(55.83, -42.54, 31.68)
CIE-LCHlch(55.83, 53.04, 143.33°)
OKLaboklab(60.48% -0.1152 0.0769)
OKLCHoklch(60.48% 0.139 146.3)
XYZxyz(14.4846, 23.7437, 10.6558)
Luminance0.2374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40974C #97408B
analogous
#609740 #40974C #409778
triadic
#40974C #4C4097 #974C40
tetradic
#40974C #406097 #97408B #977840
square
#40974C #406097 #97408B #977840
split-complementary
#40974C #784097 #974060
monochromatic
#1C4121 #2E6C36 #40974C #5BB968 #86CC8F

Accessibility & contrast

On white

3.65
#40974C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#40974C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40974C
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40974C#FFFFFF#000000##000000
##40974C1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998B46
Deuteranopia (green-blind)
#8E8351
Tritanopia (blue-blind)
#2E9485
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40974c;
/* rgb */ color: rgb(64, 151, 76);
/* oklch */ color: oklch(60.5% 0.139 146.3);
Tailwind
colors: {
  custom: {
    50: '#7db67f',
    500: '#40974c',
    950: '#000000',
  },
}
SCSS
$custom: #40974c;
$custom-light: #7db67f;
$custom-dark: #000000;
JSON
{
  "hex": "#40974c",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 76
  },
  "hsl": {
    "h": 128.276,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6048,
    "c": 0.13852,
    "h": 146.3
  },
  "luminance": 0.23745
}

Semantic roles & 50–950 ramp

primary
#40974C
secondary
#B67DAE
accent
#57C0D0
background
#F8FBF7
surface
#EFF6EE
border
#CAD0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40974C

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

Preview Lab → · Contrast checker → · Palette generator →

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