#40974E#40974E

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

Color values

HEX#40974E
RGBrgb(64, 151, 78)
HSLhsl(130, 40%, 42%)
HSVhsv(130, 58%, 59%)
CMYKcmyk(57.6%, 0%, 48.3%, 40.8%)
CIE-LABlab(55.86, -42.23, 30.67)
CIE-LCHlch(55.86, 52.19, 144.01°)
OKLaboklab(60.51% -0.1143 0.0747)
OKLCHoklch(60.51% 0.137 146.8)
XYZxyz(14.5552, 23.7720, 11.0277)
Luminance0.2377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40974E #974089
analogous
#5E9740 #40974E #40977A
triadic
#40974E #4E4097 #974E40
tetradic
#40974E #405E97 #974089 #977A40
square
#40974E #405E97 #974089 #977A40
split-complementary
#40974E #7A4097 #97405E
monochromatic
#1C4122 #2E6C38 #40974E #5BB96A #86CC91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40974E#FFFFFF#000000##000000
##40974E1.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)
#998B48
Deuteranopia (green-blind)
#8D8353
Tritanopia (blue-blind)
#2E9486
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40974e;
/* rgb */ color: rgb(64, 151, 78);
/* oklch */ color: oklch(60.5% 0.137 146.8);
Tailwind
colors: {
  custom: {
    50: '#7db681',
    500: '#40974e',
    950: '#000000',
  },
}
SCSS
$custom: #40974e;
$custom-light: #7db681;
$custom-dark: #000000;
JSON
{
  "hex": "#40974e",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 78
  },
  "hsl": {
    "h": 129.655,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60513,
    "c": 0.13658,
    "h": 146.8
  },
  "luminance": 0.23773
}

Semantic roles & 50–950 ramp

primary
#40974E
secondary
#B67DAD
accent
#57BDD0
background
#F8FBF7
surface
#EFF6EE
border
#CAD0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40974E

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

Preview Lab → · Contrast checker → · Palette generator →

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