#40982F#40982F

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

Color values

HEX#40982F
RGBrgb(64, 152, 47)
HSLhsl(110, 53%, 39%)
HSVhsv(110, 69%, 60%)
CMYKcmyk(57.9%, 0%, 69.1%, 40.4%)
CIE-LABlab(55.84, -46.50, 45.52)
CIE-LCHlch(55.84, 65.07, 135.61°)
OKLaboklab(60.38% -0.1273 0.1044)
OKLCHoklch(60.38% 0.165 140.7)
XYZxyz(13.8550, 23.7505, 6.5430)
Luminance0.2375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40982F #872F98
analogous
#75982F #40982F #2F9853
triadic
#40982F #2F4098 #982F40
tetradic
#40982F #2F7598 #872F98 #98532F
square
#40982F #2F7598 #872F98 #98532F
split-complementary
#40982F #532F98 #982F75
monochromatic
#193B12 #2C6921 #40982F #56C440 #7FD26F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40982F#FFFFFF#000000##000000
##40982F1.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)
#9C8A20
Deuteranopia (green-blind)
#918339
Tritanopia (blue-blind)
#359383
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40982f;
/* rgb */ color: rgb(64, 152, 47);
/* oklch */ color: oklch(60.4% 0.165 140.7);
Tailwind
colors: {
  custom: {
    50: '#7eb76d',
    500: '#40982f',
    950: '#000000',
  },
}
SCSS
$custom: #40982f;
$custom-light: #7eb76d;
$custom-dark: #000000;
JSON
{
  "hex": "#40982f",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 110.286,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60382,
    "c": 0.1646,
    "h": 140.7
  },
  "luminance": 0.23752
}

Semantic roles & 50–950 ramp

primary
#40982F
secondary
#AD69BA
accent
#4CDCC5
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40982F

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

Preview Lab → · Contrast checker → · Palette generator →

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