#40982E#40982E

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

Color values

HEX#40982E
RGBrgb(64, 152, 46)
HSLhsl(110, 54%, 39%)
HSVhsv(110, 70%, 60%)
CMYKcmyk(57.9%, 0%, 69.7%, 40.4%)
CIE-LABlab(55.83, -46.59, 45.93)
CIE-LCHlch(55.83, 65.42, 135.41°)
OKLaboklab(60.37% -0.1276 0.1051)
OKLCHoklch(60.37% 0.165 140.5)
XYZxyz(13.8351, 23.7425, 6.4379)
Luminance0.2374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40982E #862E98
analogous
#75982E #40982E #2E9851
triadic
#40982E #2E4098 #982E40
tetradic
#40982E #2E7598 #862E98 #98512E
square
#40982E #2E7598 #862E98 #98512E
split-complementary
#40982E #512E98 #982E75
monochromatic
#183A12 #2C6920 #40982E #55C53E #7FD36D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40982E#FFFFFF#000000##000000
##40982E1.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)
#9C8A1F
Deuteranopia (green-blind)
#918338
Tritanopia (blue-blind)
#359383
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40982e;
/* rgb */ color: rgb(64, 152, 46);
/* oklch */ color: oklch(60.4% 0.165 140.5);
Tailwind
colors: {
  custom: {
    50: '#7fb76d',
    500: '#40982e',
    950: '#000000',
  },
}
SCSS
$custom: #40982e;
$custom-light: #7fb76d;
$custom-dark: #000000;
JSON
{
  "hex": "#40982e",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 109.811,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60373,
    "c": 0.1653,
    "h": 140.5
  },
  "luminance": 0.23744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40982E

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

Preview Lab → · Contrast checker → · Palette generator →

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