#408245#408245

#408245 is a mid, moderate green. Relative luminance 0.175; OKLCH L 54.7% C 0.115 H 145.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#408245
RGBrgb(64, 130, 69)
HSLhsl(125, 34%, 38%)
HSVhsv(125, 51%, 51%)
CMYKcmyk(50.8%, 0%, 46.9%, 49%)
CIE-LABlab(48.86, -34.67, 26.64)
CIE-LCHlch(48.86, 43.73, 142.46°)
OKLaboklab(54.73% -0.0942 0.0651)
OKLCHoklch(54.73% 0.115 145.3)
XYZxyz(11.1705, 17.4841, 8.4152)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408245 #82407D
analogous
#5C8240 #408245 #408266
triadic
#408245 #454082 #824540
tetradic
#408245 #405C82 #82407D #826640
square
#408245 #405C82 #82407D #826640
split-complementary
#408245 #664082 #82405C
monochromatic
#183019 #2C592F #408245 #54AB5B #7DBF82

Accessibility & contrast

On white

4.67
#408245 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#408245 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #408245
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408245#FFFFFF#000000##FFFFFF
##4082451.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847840
Deuteranopia (green-blind)
#7B7249
Tritanopia (blue-blind)
#367F73
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #408245;
/* rgb */ color: rgb(64, 130, 69);
/* oklch */ color: oklch(54.7% 0.115 145.3);
Tailwind
colors: {
  custom: {
    50: '#7aa77a',
    500: '#408245',
    950: '#000000',
  },
}
SCSS
$custom: #408245;
$custom-light: #7aa77a;
$custom-dark: #000000;
JSON
{
  "hex": "#408245",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 69
  },
  "hsl": {
    "h": 124.545,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54732,
    "c": 0.11451,
    "h": 145.3
  },
  "luminance": 0.17485
}

Semantic roles & 50–950 ramp

primary
#408245
secondary
#AA74A6
accent
#5EC2CA
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #408245

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

Preview Lab → · Contrast checker → · Palette generator →

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