#408535#408535

#408535 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.3% C 0.134 H 141.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#408535
RGBrgb(64, 133, 53)
HSLhsl(112, 43%, 36%)
HSVhsv(112, 60%, 52%)
CMYKcmyk(51.9%, 0%, 60.2%, 47.8%)
CIE-LABlab(49.64, -38.22, 35.91)
CIE-LCHlch(49.64, 52.45, 136.78°)
OKLaboklab(55.3% -0.1045 0.0846)
OKLCHoklch(55.3% 0.134 141)
XYZxyz(11.1440, 18.1213, 6.2780)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408535 #7A3585
analogous
#688535 #408535 #358552
triadic
#408535 #354085 #853540
tetradic
#408535 #356885 #7A3585 #855235
square
#408535 #356885 #7A3585 #855235
split-complementary
#408535 #523585 #853568
monochromatic
#162D12 #2B5924 #408535 #55B146 #7BC66F

Accessibility & contrast

On white

4.54
#408535 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#408535 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408535
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408535#FFFFFF#000000##000000
##4085351.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A2D
Deuteranopia (green-blind)
#7F743B
Tritanopia (blue-blind)
#388174
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #408535;
/* rgb */ color: rgb(64, 133, 53);
/* oklch */ color: oklch(55.3% 0.134 141.0);
Tailwind
colors: {
  custom: {
    50: '#7ba96f',
    500: '#408535',
    950: '#000000',
  },
}
SCSS
$custom: #408535;
$custom-light: #7ba96f;
$custom-dark: #000000;
JSON
{
  "hex": "#408535",
  "rgb": {
    "r": 64,
    "g": 133,
    "b": 53
  },
  "hsl": {
    "h": 111.75,
    "s": 43.011,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55302,
    "c": 0.13443,
    "h": 141
  },
  "luminance": 0.18122
}

Semantic roles & 50–950 ramp

primary
#408535
secondary
#A468AE
accent
#55D3C1
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #408535

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

Preview Lab → · Contrast checker → · Palette generator →

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