#40982B#40982B

#40982B is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.3% C 0.167 H 140.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#40982B
RGBrgb(64, 152, 43)
HSLhsl(108, 56%, 38%)
HSVhsv(108, 72%, 60%)
CMYKcmyk(57.9%, 0%, 71.7%, 40.4%)
CIE-LABlab(55.81, -46.85, 47.12)
CIE-LCHlch(55.81, 66.45, 134.84°)
OKLaboklab(60.35% -0.1285 0.1072)
OKLCHoklch(60.35% 0.167 140.2)
XYZxyz(13.7780, 23.7197, 6.1373)
Luminance0.2372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40982B #832B98
analogous
#76982B #40982B #2B984C
triadic
#40982B #2B4098 #982B40
tetradic
#40982B #2B7698 #832B98 #984C2B
square
#40982B #2B7698 #832B98 #984C2B
split-complementary
#40982B #4C2B98 #982B76
monochromatic
#183910 #2C681E #40982B #54C739 #7ED569

Accessibility & contrast

On white

3.66
#40982B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#40982B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40982B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40982B#FFFFFF#000000##000000
##40982B1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A1A
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#359382
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40982b;
/* rgb */ color: rgb(64, 152, 43);
/* oklch */ color: oklch(60.3% 0.167 140.2);
Tailwind
colors: {
  custom: {
    50: '#7fb76b',
    500: '#40982b',
    950: '#000000',
  },
}
SCSS
$custom: #40982b;
$custom-light: #7fb76b;
$custom-dark: #000000;
JSON
{
  "hex": "#40982b",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 108.44,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60347,
    "c": 0.16734,
    "h": 140.2
  },
  "luminance": 0.23721
}

Semantic roles & 50–950 ramp

primary
#40982B
secondary
#AA64BB
accent
#49DFC2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40982B

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

Preview Lab → · Contrast checker → · Palette generator →

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