#408152#408152

#408152 is a mid, moderate green. Relative luminance 0.174; OKLCH L 54.7% C 0.099 H 150.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#408152
RGBrgb(64, 129, 82)
HSLhsl(137, 34%, 38%)
HSVhsv(137, 50%, 51%)
CMYKcmyk(50.4%, 0%, 36.4%, 49.4%)
CIE-LABlab(48.76, -31.93, 19.26)
CIE-LCHlch(48.76, 37.29, 148.90°)
OKLaboklab(54.72% -0.0868 0.0483)
OKLCHoklch(54.72% 0.099 150.9)
XYZxyz(11.4868, 17.3988, 10.7340)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408152 #81406F
analogous
#4F8140 #408152 #408172
triadic
#408152 #524081 #815240
tetradic
#408152 #404F81 #81406F #817240
square
#408152 #404F81 #81406F #817240
split-complementary
#408152 #724081 #81404F
monochromatic
#172F1E #2C5838 #408152 #54AA6C #7DBE8F

Accessibility & contrast

On white

4.69
#408152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#408152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408152
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408152#FFFFFF#000000##FFFFFF
##4081521.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82784F
Deuteranopia (green-blind)
#787155
Tritanopia (blue-blind)
#327F75
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #408152;
/* rgb */ color: rgb(64, 129, 82);
/* oklch */ color: oklch(54.7% 0.099 150.9);
Tailwind
colors: {
  custom: {
    50: '#79a683',
    500: '#408152',
    950: '#000000',
  },
}
SCSS
$custom: #408152;
$custom-light: #79a683;
$custom-dark: #000000;
JSON
{
  "hex": "#408152",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 82
  },
  "hsl": {
    "h": 136.615,
    "s": 33.679,
    "l": 37.843
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.09935,
    "h": 150.9
  },
  "luminance": 0.174
}

Semantic roles & 50–950 ramp

primary
#408152
secondary
#A9749A
accent
#5EACCA
background
#F7FAF8
surface
#EEF4EF
border
#C9CECA
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #408152

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

Preview Lab → · Contrast checker → · Palette generator →

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