#40982D#40982D

#40982D is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.4% C 0.166 H 140.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#40982D
RGBrgb(64, 152, 45)
HSLhsl(109, 54%, 39%)
HSVhsv(109, 70%, 60%)
CMYKcmyk(57.9%, 0%, 70.4%, 40.4%)
CIE-LABlab(55.82, -46.68, 46.33)
CIE-LCHlch(55.82, 65.77, 135.22°)
OKLaboklab(60.36% -0.1279 0.1058)
OKLCHoklch(60.36% 0.166 140.4)
XYZxyz(13.8156, 23.7347, 6.3353)
Luminance0.2374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40982D #852D98
analogous
#75982D #40982D #2D984F
triadic
#40982D #2D4098 #982D40
tetradic
#40982D #2D7598 #852D98 #984F2D
square
#40982D #2D7598 #852D98 #984F2D
split-complementary
#40982D #4F2D98 #982D75
monochromatic
#183A11 #2C691F #40982D #55C53D #7ED36C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40982D#FFFFFF#000000##000000
##40982D1.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)
#9C8A1D
Deuteranopia (green-blind)
#918337
Tritanopia (blue-blind)
#359383
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40982d;
/* rgb */ color: rgb(64, 152, 45);
/* oklch */ color: oklch(60.4% 0.166 140.4);
Tailwind
colors: {
  custom: {
    50: '#7fb76c',
    500: '#40982d',
    950: '#000000',
  },
}
SCSS
$custom: #40982d;
$custom-light: #7fb76c;
$custom-dark: #000000;
JSON
{
  "hex": "#40982d",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 109.346,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60364,
    "c": 0.166,
    "h": 140.4
  },
  "luminance": 0.23736
}

Semantic roles & 50–950 ramp

primary
#40982D
secondary
#AC66BA
accent
#4ADEC3
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40982D

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

Preview Lab → · Contrast checker → · Palette generator →

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