#40974D#40974D

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

Color values

HEX#40974D
RGBrgb(64, 151, 77)
HSLhsl(129, 40%, 42%)
HSVhsv(129, 58%, 59%)
CMYKcmyk(57.6%, 0%, 49%, 40.8%)
CIE-LABlab(55.84, -42.39, 31.17)
CIE-LCHlch(55.84, 52.62, 143.67°)
OKLaboklab(60.5% -0.1148 0.0758)
OKLCHoklch(60.5% 0.138 146.6)
XYZxyz(14.5196, 23.7577, 10.8403)
Luminance0.2376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40974D #97408A
analogous
#5E9740 #40974D #409779
triadic
#40974D #4D4097 #974D40
tetradic
#40974D #405E97 #97408A #977940
square
#40974D #405E97 #97408A #977940
split-complementary
#40974D #794097 #97405E
monochromatic
#1C4121 #2E6C37 #40974D #5BB969 #86CC90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40974D#FFFFFF#000000##000000
##40974D1.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)
#998B47
Deuteranopia (green-blind)
#8D8352
Tritanopia (blue-blind)
#2E9486
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40974d;
/* rgb */ color: rgb(64, 151, 77);
/* oklch */ color: oklch(60.5% 0.138 146.6);
Tailwind
colors: {
  custom: {
    50: '#7db680',
    500: '#40974d',
    950: '#000000',
  },
}
SCSS
$custom: #40974d;
$custom-light: #7db680;
$custom-dark: #000000;
JSON
{
  "hex": "#40974d",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 77
  },
  "hsl": {
    "h": 128.966,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60496,
    "c": 0.13755,
    "h": 146.6
  },
  "luminance": 0.23759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40974D

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

Preview Lab → · Contrast checker → · Palette generator →

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