#408135#408135

#408135 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.2% C 0.129 H 140.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#408135
RGBrgb(64, 129, 53)
HSLhsl(111, 42%, 36%)
HSVhsv(111, 59%, 51%)
CMYKcmyk(50.4%, 0%, 58.9%, 49.4%)
CIE-LABlab(48.32, -36.51, 34.37)
CIE-LCHlch(48.32, 50.15, 136.73°)
OKLaboklab(54.22% -0.0998 0.0813)
OKLCHoklch(54.22% 0.129 140.9)
XYZxyz(10.6068, 17.0468, 6.0989)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408135 #763581
analogous
#668135 #408135 #358150
triadic
#408135 #354081 #813540
tetradic
#408135 #356681 #763581 #815035
square
#408135 #356681 #763581 #815035
split-complementary
#408135 #503581 #813566
monochromatic
#152A11 #2A5623 #408135 #56AC47 #7AC36D

Accessibility & contrast

On white

4.76
#408135 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#408135 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408135
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408135#FFFFFF#000000##FFFFFF
##4081351.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762D
Deuteranopia (green-blind)
#7B713B
Tritanopia (blue-blind)
#397D70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #408135;
/* rgb */ color: rgb(64, 129, 53);
/* oklch */ color: oklch(54.2% 0.129 140.9);
Tailwind
colors: {
  custom: {
    50: '#7aa66f',
    500: '#408135',
    950: '#000000',
  },
}
SCSS
$custom: #408135;
$custom-light: #7aa66f;
$custom-dark: #000000;
JSON
{
  "hex": "#408135",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 53
  },
  "hsl": {
    "h": 111.316,
    "s": 41.758,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.12873,
    "h": 140.9
  },
  "luminance": 0.17048
}

Semantic roles & 50–950 ramp

primary
#408135
secondary
#A166AB
accent
#56D2C0
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #408135

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

Preview Lab → · Contrast checker → · Palette generator →

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