#40972E#40972E

#40972E is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.1% C 0.164 H 140.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#40972E
RGBrgb(64, 151, 46)
HSLhsl(110, 53%, 39%)
HSVhsv(110, 70%, 59%)
CMYKcmyk(57.6%, 0%, 69.5%, 40.8%)
CIE-LABlab(55.50, -46.21, 45.58)
CIE-LCHlch(55.50, 64.91, 135.39°)
OKLaboklab(60.1% -0.1266 0.1044)
OKLCHoklch(60.1% 0.164 140.5)
XYZxyz(13.6735, 23.4193, 6.3841)
Luminance0.2342 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40972E #852E97
analogous
#74972E #40972E #2E9750
triadic
#40972E #2E4097 #972E40
tetradic
#40972E #2E7497 #852E97 #97502E
square
#40972E #2E7497 #852E97 #97502E
split-complementary
#40972E #502E97 #972E74
monochromatic
#183911 #2C6820 #40972E #55C43E #7ED26D

Accessibility & contrast

On white

3.69
#40972E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#40972E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40972E
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40972E#FFFFFF#000000##000000
##40972E1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891F
Deuteranopia (green-blind)
#908238
Tritanopia (blue-blind)
#359282
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40972e;
/* rgb */ color: rgb(64, 151, 46);
/* oklch */ color: oklch(60.1% 0.164 140.5);
Tailwind
colors: {
  custom: {
    50: '#7eb66c',
    500: '#40972e',
    950: '#000000',
  },
}
SCSS
$custom: #40972e;
$custom-light: #7eb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#40972e",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 46
  },
  "hsl": {
    "h": 109.714,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60103,
    "c": 0.16404,
    "h": 140.5
  },
  "luminance": 0.2342
}

Semantic roles & 50–950 ramp

primary
#40972E
secondary
#AC67BA
accent
#4BDDC4
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40972E

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

Preview Lab → · Contrast checker → · Palette generator →

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