#40962F#40962F

#40962F is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.8% C 0.162 H 140.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#40962F
RGBrgb(64, 150, 47)
HSLhsl(110, 52%, 39%)
HSVhsv(110, 69%, 59%)
CMYKcmyk(57.3%, 0%, 68.7%, 41.2%)
CIE-LABlab(55.18, -45.73, 44.82)
CIE-LCHlch(55.18, 64.03, 135.57°)
OKLaboklab(59.84% -0.1252 0.1029)
OKLCHoklch(59.84% 0.162 140.6)
XYZxyz(13.5332, 23.1068, 6.4357)
Luminance0.2311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40962F #852F96
analogous
#73962F #40962F #2F9651
triadic
#40962F #2F4096 #962F40
tetradic
#40962F #2F7396 #852F96 #96512F
square
#40962F #2F7396 #852F96 #96512F
split-complementary
#40962F #512F96 #962F73
monochromatic
#183912 #2C6720 #40962F #55C33F #7ED26E

Accessibility & contrast

On white

3.74
#40962F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#40962F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40962F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40962F#FFFFFF#000000##000000
##40962F1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8921
Deuteranopia (green-blind)
#8F8138
Tritanopia (blue-blind)
#359181
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #40962f;
/* rgb */ color: rgb(64, 150, 47);
/* oklch */ color: oklch(59.8% 0.162 140.6);
Tailwind
colors: {
  custom: {
    50: '#7eb66d',
    500: '#40962f',
    950: '#000000',
  },
}
SCSS
$custom: #40962f;
$custom-light: #7eb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#40962f",
  "rgb": {
    "r": 64,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 110.097,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59842,
    "c": 0.16206,
    "h": 140.6
  },
  "luminance": 0.23108
}

Semantic roles & 50–950 ramp

primary
#40962F
secondary
#AC68B9
accent
#4CDCC4
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #40962F

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

Preview Lab → · Contrast checker → · Palette generator →

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