#407337#407337

#407337 is a mid, moderate green. Relative luminance 0.136; OKLCH L 50.4% C 0.106 H 140.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#407337
RGBrgb(64, 115, 55)
HSLhsl(111, 35%, 33%)
HSVhsv(111, 52%, 45%)
CMYKcmyk(44.3%, 0%, 52.2%, 54.9%)
CIE-LABlab(43.69, -29.96, 27.78)
CIE-LCHlch(43.69, 40.86, 137.16°)
OKLaboklab(50.44% -0.0819 0.067)
OKLCHoklch(50.44% 0.106 140.7)
XYZxyz(8.9343, 13.6268, 5.7731)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407337 #6A3773
analogous
#5E7337 #407337 #37734C
triadic
#407337 #374073 #733740
tetradic
#407337 #375E73 #6A3773 #734C37
square
#407337 #375E73 #6A3773 #734C37
split-complementary
#407337 #4C3773 #73375E
monochromatic
#12200F #294A23 #407337 #579C4B #77B96C

Accessibility & contrast

On white

5.64
#407337 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#407337 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407337
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407337#FFFFFF#000000##FFFFFF
##4073371.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A32
Deuteranopia (green-blind)
#6F653B
Tritanopia (blue-blind)
#3B7065
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #407337;
/* rgb */ color: rgb(64, 115, 55);
/* oklch */ color: oklch(50.4% 0.106 140.7);
Tailwind
colors: {
  custom: {
    50: '#789c6f',
    500: '#407337',
    950: '#000000',
  },
}
SCSS
$custom: #407337;
$custom-light: #789c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#407337",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 55
  },
  "hsl": {
    "h": 111,
    "s": 35.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.50437,
    "c": 0.10577,
    "h": 140.7
  },
  "luminance": 0.13627
}

Semantic roles & 50–950 ramp

primary
#407337
secondary
#9864A2
accent
#5CCBBB
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #407337

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

Preview Lab → · Contrast checker → · Palette generator →

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