#408151#408151

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

Color values

HEX#408151
RGBrgb(64, 129, 81)
HSLhsl(136, 34%, 38%)
HSVhsv(136, 50%, 51%)
CMYKcmyk(50.4%, 0%, 37.2%, 49.4%)
CIE-LABlab(48.74, -32.12, 19.80)
CIE-LCHlch(48.74, 37.73, 148.34°)
OKLaboklab(54.7% -0.0873 0.0496)
OKLCHoklch(54.7% 0.1 150.4)
XYZxyz(11.4491, 17.3837, 10.5351)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408151 #814070
analogous
#4F8140 #408151 #408171
triadic
#408151 #514081 #815140
tetradic
#408151 #404F81 #814070 #817140
square
#408151 #404F81 #814070 #817140
split-complementary
#408151 #714081 #81404F
monochromatic
#172F1E #2C5837 #408151 #54AA6B #7DBE8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408151#FFFFFF#000000##FFFFFF
##4081511.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)
#82784E
Deuteranopia (green-blind)
#787154
Tritanopia (blue-blind)
#337F75
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #408151;
/* rgb */ color: rgb(64, 129, 81);
/* oklch */ color: oklch(54.7% 0.100 150.4);
Tailwind
colors: {
  custom: {
    50: '#79a682',
    500: '#408151',
    950: '#000000',
  },
}
SCSS
$custom: #408151;
$custom-light: #79a682;
$custom-dark: #000000;
JSON
{
  "hex": "#408151",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 135.692,
    "s": 33.679,
    "l": 37.843
  },
  "oklch": {
    "l": 0.54697,
    "c": 0.1004,
    "h": 150.4
  },
  "luminance": 0.17385
}

Semantic roles & 50–950 ramp

primary
#408151
secondary
#A9749B
accent
#5EAECA
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #408151

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

Preview Lab → · Contrast checker → · Palette generator →

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