#406942#406942

#406942 is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.9% C 0.077 H 145.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#406942
RGBrgb(64, 105, 66)
HSLhsl(123, 24%, 33%)
HSVhsv(123, 39%, 41%)
CMYKcmyk(39%, 0%, 37.1%, 58.8%)
CIE-LABlab(40.55, -23.28, 17.53)
CIE-LCHlch(40.55, 29.14, 143.01°)
OKLaboklab(47.94% -0.0634 0.0438)
OKLCHoklch(47.94% 0.077 145.4)
XYZxyz(8.1489, 11.5860, 6.9602)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406942 #694067
analogous
#526940 #406942 #406956
triadic
#406942 #424069 #694240
tetradic
#406942 #405269 #694067 #695640
square
#406942 #405269 #694067 #695640
split-complementary
#406942 #564069 #694052
monochromatic
#121D12 #29432A #406942 #578F5A #77AC7A

Accessibility & contrast

On white

6.33
#406942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#406942 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406942
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406942#FFFFFF#000000##FFFFFF
##4069421.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A623F
Deuteranopia (green-blind)
#645E44
Tritanopia (blue-blind)
#3B675F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #406942;
/* rgb */ color: rgb(64, 105, 66);
/* oklch */ color: oklch(47.9% 0.077 145.4);
Tailwind
colors: {
  custom: {
    50: '#779476',
    500: '#406942',
    950: '#000000',
  },
}
SCSS
$custom: #406942;
$custom-light: #779476;
$custom-dark: #000000;
JSON
{
  "hex": "#406942",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 66
  },
  "hsl": {
    "h": 122.927,
    "s": 24.26,
    "l": 33.137
  },
  "oklch": {
    "l": 0.47938,
    "c": 0.07711,
    "h": 145.4
  },
  "luminance": 0.11586
}

Semantic roles & 50–950 ramp

primary
#406942
secondary
#986D95
accent
#67BCC1
background
#F7F9F7
surface
#EDF1ED
border
#C8CBC8
text
#090D08
muted
#7B7E7B

Preview Lab

Preview with #406942

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

Preview Lab → · Contrast checker → · Palette generator →

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