#407647#407647

#407647 is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.5% C 0.093 H 147.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#407647
RGBrgb(64, 118, 71)
HSLhsl(128, 30%, 36%)
HSVhsv(128, 46%, 46%)
CMYKcmyk(45.8%, 0%, 39.8%, 53.7%)
CIE-LABlab(44.94, -28.79, 20.46)
CIE-LCHlch(44.94, 35.32, 144.61°)
OKLaboklab(51.54% -0.0783 0.0509)
OKLCHoklch(51.54% 0.093 147)
XYZxyz(9.7296, 14.5011, 8.2463)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407647 #76406F
analogous
#547640 #407647 #407662
triadic
#407647 #474076 #764740
tetradic
#407647 #405476 #76406F #766240
square
#407647 #405476 #76406F #766240
split-complementary
#407647 #624076 #764054
monochromatic
#152717 #2A4E2F #407647 #569E5F #7AB782

Accessibility & contrast

On white

5.38
#407647 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#407647 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407647
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407647#FFFFFF#000000##FFFFFF
##4076471.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776E44
Deuteranopia (green-blind)
#6F684A
Tritanopia (blue-blind)
#38746A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #407647;
/* rgb */ color: rgb(64, 118, 71);
/* oklch */ color: oklch(51.5% 0.093 147.0);
Tailwind
colors: {
  custom: {
    50: '#789e7a',
    500: '#407647',
    950: '#000000',
  },
}
SCSS
$custom: #407647;
$custom-light: #789e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#407647",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 71
  },
  "hsl": {
    "h": 127.778,
    "s": 29.67,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5154,
    "c": 0.09339,
    "h": 147
  },
  "luminance": 0.14502
}

Semantic roles & 50–950 ramp

primary
#407647
secondary
#A1709B
accent
#62B9C6
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090E09
muted
#7B7E7B

Preview Lab

Preview with #407647

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

Preview Lab → · Contrast checker → · Palette generator →

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