#407256#407256

#407256 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.8% C 0.071 H 158.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#407256
RGBrgb(64, 114, 86)
HSLhsl(146, 28%, 35%)
HSVhsv(146, 44%, 45%)
CMYKcmyk(43.9%, 0%, 24.6%, 55.3%)
CIE-LABlab(43.94, -23.81, 10.34)
CIE-LCHlch(43.94, 25.96, 156.53°)
OKLaboklab(50.83% -0.0657 0.0265)
OKLCHoklch(50.83% 0.071 158)
XYZxyz(9.8107, 13.7958, 10.9482)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407256 #72405C
analogous
#437240 #407256 #40726F
triadic
#407256 #564072 #725640
tetradic
#407256 #404372 #72405C #726F40
square
#407256 #404372 #72405C #726F40
split-complementary
#407256 #6F4072 #724043
monochromatic
#14241B #2A4B38 #407256 #569974 #79B493

Accessibility & contrast

On white

5.59
#407256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#407256 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407256
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407256#FFFFFF#000000##FFFFFF
##4072561.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716B54
Deuteranopia (green-blind)
#696658
Tritanopia (blue-blind)
#34716A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #407256;
/* rgb */ color: rgb(64, 114, 86);
/* oklch */ color: oklch(50.8% 0.071 158.0);
Tailwind
colors: {
  custom: {
    50: '#779b85',
    500: '#407256',
    950: '#000000',
  },
}
SCSS
$custom: #407256;
$custom-light: #779b85;
$custom-dark: #000000;
JSON
{
  "hex": "#407256",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 86
  },
  "hsl": {
    "h": 146.4,
    "s": 28.09,
    "l": 34.902
  },
  "oklch": {
    "l": 0.50826,
    "c": 0.0708,
    "h": 158
  },
  "luminance": 0.13797
}

Semantic roles & 50–950 ramp

primary
#407256
secondary
#9F6F8A
accent
#639AC4
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#090E0B
muted
#7B7E7C

Preview Lab

Preview with #407256

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

Preview Lab → · Contrast checker → · Palette generator →

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