#408354#408354

#408354 is a mid, moderate green. Relative luminance 0.180; OKLCH L 55.3% C 0.100 H 151.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#408354
RGBrgb(64, 131, 84)
HSLhsl(138, 34%, 38%)
HSVhsv(138, 51%, 51%)
CMYKcmyk(51.1%, 0%, 35.9%, 48.6%)
CIE-LABlab(49.45, -32.47, 19.05)
CIE-LCHlch(49.45, 37.64, 149.59°)
OKLaboklab(55.3% -0.0883 0.0478)
OKLCHoklch(55.3% 0.1 151.6)
XYZxyz(11.8301, 17.9617, 11.2294)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408354 #83406F
analogous
#4D8340 #408354 #408375
triadic
#408354 #544083 #835440
tetradic
#408354 #404D83 #83406F #837540
square
#408354 #404D83 #83406F #837540
split-complementary
#408354 #754083 #83404D
monochromatic
#18311F #2C5A3A #408354 #54AC6F #7EC091

Accessibility & contrast

On white

4.57
#408354 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#408354 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408354
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408354#FFFFFF#000000##000000
##4083541.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837A51
Deuteranopia (green-blind)
#7A7357
Tritanopia (blue-blind)
#318177
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #408354;
/* rgb */ color: rgb(64, 131, 84);
/* oklch */ color: oklch(55.3% 0.100 151.6);
Tailwind
colors: {
  custom: {
    50: '#7aa784',
    500: '#408354',
    950: '#000000',
  },
}
SCSS
$custom: #408354;
$custom-light: #7aa784;
$custom-dark: #000000;
JSON
{
  "hex": "#408354",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 84
  },
  "hsl": {
    "h": 137.91,
    "s": 34.359,
    "l": 38.235
  },
  "oklch": {
    "l": 0.55295,
    "c": 0.10043,
    "h": 151.6
  },
  "luminance": 0.17963
}

Semantic roles & 50–950 ramp

primary
#408354
secondary
#AA759A
accent
#5DAACA
background
#F7FAF8
surface
#EEF4EF
border
#C9CECA
text
#090F0B
muted
#7B7F7C

Preview Lab

Preview with #408354

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

Preview Lab → · Contrast checker → · Palette generator →

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