#407331#407331

#407331 is a mid, moderate green. Relative luminance 0.136; OKLCH L 50.3% C 0.112 H 139.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#407331
RGBrgb(64, 115, 49)
HSLhsl(106, 40%, 32%)
HSVhsv(106, 57%, 45%)
CMYKcmyk(44.3%, 0%, 57.4%, 54.9%)
CIE-LABlab(43.61, -30.77, 30.87)
CIE-LCHlch(43.61, 43.58, 134.90°)
OKLaboklab(50.35% -0.0844 0.0733)
OKLCHoklch(50.35% 0.112 139)
XYZxyz(8.7992, 13.5727, 5.0613)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407331 #643173
analogous
#617331 #407331 #317343
triadic
#407331 #314073 #733140
tetradic
#407331 #316173 #643173 #734331
square
#407331 #316173 #643173 #734331
split-complementary
#407331 #433173 #733161
monochromatic
#101D0C #28481F #407331 #589E43 #77BC62

Accessibility & contrast

On white

5.65
#407331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#407331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407331
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407331#FFFFFF#000000##FFFFFF
##4073311.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2B
Deuteranopia (green-blind)
#6F6536
Tritanopia (blue-blind)
#3C6F64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #407331;
/* rgb */ color: rgb(64, 115, 49);
/* oklch */ color: oklch(50.3% 0.112 139.0);
Tailwind
colors: {
  custom: {
    50: '#799c6b',
    500: '#407331',
    950: '#000000',
  },
}
SCSS
$custom: #407331;
$custom-light: #799c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#407331",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 106.364,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50347,
    "c": 0.11181,
    "h": 139
  },
  "luminance": 0.13573
}

Semantic roles & 50–950 ramp

primary
#407331
secondary
#935CA4
accent
#58D0B5
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #407331

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

Preview Lab → · Contrast checker → · Palette generator →

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