#406937#406937

#406937 is a mid, moderate green. Relative luminance 0.115; OKLCH L 47.7% C 0.090 H 140.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#406937
RGBrgb(64, 105, 55)
HSLhsl(109, 31%, 31%)
HSVhsv(109, 48%, 41%)
CMYKcmyk(39%, 0%, 47.6%, 58.8%)
CIE-LABlab(40.36, -25.13, 23.63)
CIE-LCHlch(40.36, 34.50, 136.77°)
OKLaboklab(47.72% -0.0687 0.0576)
OKLCHoklch(47.72% 0.09 140)
XYZxyz(7.8552, 11.4686, 5.4134)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406937 #603769
analogous
#596937 #406937 #376947
triadic
#406937 #374069 #693740
tetradic
#406937 #375969 #603769 #694737
square
#406937 #375969 #603769 #694737
split-complementary
#406937 #473769 #693759
monochromatic
#0F190D #284122 #406937 #58914C #76B16A

Accessibility & contrast

On white

6.38
#406937 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#406937 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406937
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406937#FFFFFF#000000##FFFFFF
##4069371.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6133
Deuteranopia (green-blind)
#665E3A
Tritanopia (blue-blind)
#3D665D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #406937;
/* rgb */ color: rgb(64, 105, 55);
/* oklch */ color: oklch(47.7% 0.090 140.0);
Tailwind
colors: {
  custom: {
    50: '#77946f',
    500: '#406937',
    950: '#000000',
  },
}
SCSS
$custom: #406937;
$custom-light: #77946f;
$custom-dark: #000000;
JSON
{
  "hex": "#406937",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 55
  },
  "hsl": {
    "h": 109.2,
    "s": 31.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4772,
    "c": 0.08966,
    "h": 140
  },
  "luminance": 0.11469
}

Semantic roles & 50–950 ramp

primary
#406937
secondary
#906299
accent
#60C7B5
background
#F7F9F6
surface
#EDF1EC
border
#C8CBC7
text
#090D07
muted
#7B7E7A

Preview Lab

Preview with #406937

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

Preview Lab → · Contrast checker → · Palette generator →

#406937 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva