#408153#408153

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

Color values

HEX#408153
RGBrgb(64, 129, 83)
HSLhsl(138, 34%, 38%)
HSVhsv(138, 50%, 51%)
CMYKcmyk(50.4%, 0%, 35.7%, 49.4%)
CIE-LABlab(48.78, -31.73, 18.72)
CIE-LCHlch(48.78, 36.84, 149.47°)
OKLaboklab(54.74% -0.0863 0.047)
OKLCHoklch(54.74% 0.098 151.4)
XYZxyz(11.5252, 17.4141, 10.9359)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408153 #81406E
analogous
#4E8140 #408153 #408173
triadic
#408153 #534081 #815340
tetradic
#408153 #404E81 #81406E #817340
square
#408153 #404E81 #81406E #817340
split-complementary
#408153 #734081 #81404E
monochromatic
#172F1E #2C5839 #408153 #54AA6D #7DBE90

Accessibility & contrast

On white

4.68
#408153 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #408153
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408153#FFFFFF#000000##FFFFFF
##4081531.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817850
Deuteranopia (green-blind)
#787156
Tritanopia (blue-blind)
#327F75
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #408153;
/* rgb */ color: rgb(64, 129, 83);
/* oklch */ color: oklch(54.7% 0.098 151.4);
Tailwind
colors: {
  custom: {
    50: '#79a683',
    500: '#408153',
    950: '#000000',
  },
}
SCSS
$custom: #408153;
$custom-light: #79a683;
$custom-dark: #000000;
JSON
{
  "hex": "#408153",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 83
  },
  "hsl": {
    "h": 137.538,
    "s": 33.679,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5474,
    "c": 0.0983,
    "h": 151.4
  },
  "luminance": 0.17415
}

Semantic roles & 50–950 ramp

primary
#408153
secondary
#A97499
accent
#5EAACA
background
#F7FAF8
surface
#EEF4EF
border
#C9CECA
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #408153

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

Preview Lab → · Contrast checker → · Palette generator →

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