#40974B#40974B

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

Color values

HEX#40974B
RGBrgb(64, 151, 75)
HSLhsl(128, 40%, 42%)
HSVhsv(128, 58%, 59%)
CMYKcmyk(57.6%, 0%, 50.3%, 40.8%)
CIE-LABlab(55.82, -42.69, 32.18)
CIE-LCHlch(55.82, 53.47, 142.99°)
OKLaboklab(60.46% -0.1156 0.078)
OKLCHoklch(60.46% 0.139 146)
XYZxyz(14.4501, 23.7299, 10.4741)
Luminance0.2373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40974B #97408C
analogous
#619740 #40974B #409777
triadic
#40974B #4B4097 #974B40
tetradic
#40974B #406197 #97408C #977740
square
#40974B #406197 #97408C #977740
split-complementary
#40974B #774097 #974061
monochromatic
#1C4120 #2E6C36 #40974B #5BB967 #86CC8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40974B#FFFFFF#000000##000000
##40974B1.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)
#998B45
Deuteranopia (green-blind)
#8E8350
Tritanopia (blue-blind)
#2F9485
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40974b;
/* rgb */ color: rgb(64, 151, 75);
/* oklch */ color: oklch(60.5% 0.139 146.0);
Tailwind
colors: {
  custom: {
    50: '#7db67f',
    500: '#40974b',
    950: '#000000',
  },
}
SCSS
$custom: #40974b;
$custom-light: #7db67f;
$custom-dark: #000000;
JSON
{
  "hex": "#40974b",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 75
  },
  "hsl": {
    "h": 127.586,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60464,
    "c": 0.13947,
    "h": 146
  },
  "luminance": 0.23731
}

Semantic roles & 50–950 ramp

primary
#40974B
secondary
#B67DAF
accent
#57C1D0
background
#F8FBF7
surface
#EFF6EE
border
#CAD0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40974B

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

Preview Lab → · Contrast checker → · Palette generator →

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