#406331#406331

#406331 is a mid, moderate green. Relative luminance 0.102; OKLCH L 46.0% C 0.086 H 137.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#406331
RGBrgb(64, 99, 49)
HSLhsl(102, 34%, 29%)
HSVhsv(102, 51%, 39%)
CMYKcmyk(35.4%, 0%, 50.5%, 61.2%)
CIE-LABlab(38.26, -23.01, 24.38)
CIE-LCHlch(38.26, 33.52, 133.34°)
OKLaboklab(45.99% -0.0632 0.059)
OKLCHoklch(45.99% 0.086 137)
XYZxyz(7.1304, 10.2351, 4.5050)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406331 #543163
analogous
#596331 #406331 #31633B
triadic
#406331 #314063 #633140
tetradic
#406331 #315963 #543163 #633B31
square
#406331 #315963 #543163 #633B31
split-complementary
#406331 #3B3163 #633159
monochromatic
#0D140A #263A1D #406331 #5A8C45 #77B05F

Accessibility & contrast

On white

6.89
#406331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#406331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406331
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406331#FFFFFF#000000##FFFFFF
##4063311.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C2D
Deuteranopia (green-blind)
#615934
Tritanopia (blue-blind)
#3F6057
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #406331;
/* rgb */ color: rgb(64, 99, 49);
/* oklch */ color: oklch(46.0% 0.086 137.0);
Tailwind
colors: {
  custom: {
    50: '#778f6a',
    500: '#406331',
    950: '#000000',
  },
}
SCSS
$custom: #406331;
$custom-light: #778f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#406331",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 102,
    "s": 33.784,
    "l": 29.02
  },
  "oklch": {
    "l": 0.45985,
    "c": 0.08642,
    "h": 137
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

primary
#406331
secondary
#835C94
accent
#5ECAA9
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #406331

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

Preview Lab → · Contrast checker → · Palette generator →

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