#40982A#40982A

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

Color values

HEX#40982A
RGBrgb(64, 152, 42)
HSLhsl(108, 57%, 38%)
HSVhsv(108, 72%, 60%)
CMYKcmyk(57.9%, 0%, 72.4%, 40.4%)
CIE-LABlab(55.80, -46.94, 47.51)
CIE-LCHlch(55.80, 66.78, 134.65°)
OKLaboklab(60.34% -0.1288 0.1079)
OKLCHoklch(60.34% 0.168 140)
XYZxyz(13.7599, 23.7124, 6.0419)
Luminance0.2371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40982A #822A98
analogous
#77982A #40982A #2A984B
triadic
#40982A #2A4098 #982A40
tetradic
#40982A #2A7798 #822A98 #984B2A
square
#40982A #2A7798 #822A98 #984B2A
split-complementary
#40982A #4B2A98 #982A77
monochromatic
#183810 #2C681D #40982A #54C837 #7DD567

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40982A#FFFFFF#000000##000000
##40982A1.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)
#9C8A18
Deuteranopia (green-blind)
#918335
Tritanopia (blue-blind)
#359382
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40982a;
/* rgb */ color: rgb(64, 152, 42);
/* oklch */ color: oklch(60.3% 0.168 140.0);
Tailwind
colors: {
  custom: {
    50: '#7fb76a',
    500: '#40982a',
    950: '#000000',
  },
}
SCSS
$custom: #40982a;
$custom-light: #7fb76a;
$custom-dark: #000000;
JSON
{
  "hex": "#40982a",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 108,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60338,
    "c": 0.168,
    "h": 140
  },
  "luminance": 0.23714
}

Semantic roles & 50–950 ramp

primary
#40982A
secondary
#AA62BB
accent
#48E0C2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40982A

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

Preview Lab → · Contrast checker → · Palette generator →

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