#408335#408335

#408335 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.8% C 0.132 H 140.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#408335
RGBrgb(64, 131, 53)
HSLhsl(112, 42%, 36%)
HSVhsv(112, 60%, 51%)
CMYKcmyk(51.1%, 0%, 59.5%, 48.6%)
CIE-LABlab(48.98, -37.37, 35.14)
CIE-LCHlch(48.98, 51.30, 136.76°)
OKLaboklab(54.76% -0.1022 0.0829)
OKLCHoklch(54.76% 0.132 140.9)
XYZxyz(10.8728, 17.5788, 6.1876)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408335 #783583
analogous
#678335 #408335 #358351
triadic
#408335 #354083 #833540
tetradic
#408335 #356783 #783583 #835135
square
#408335 #356783 #783583 #835135
split-complementary
#408335 #513583 #833567
monochromatic
#152C12 #2B5723 #408335 #55AF47 #7AC46E

Accessibility & contrast

On white

4.65
#408335 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#408335 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #408335
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408335#FFFFFF#000000##FFFFFF
##4083351.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86782D
Deuteranopia (green-blind)
#7D723B
Tritanopia (blue-blind)
#397F72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #408335;
/* rgb */ color: rgb(64, 131, 53);
/* oklch */ color: oklch(54.8% 0.132 140.9);
Tailwind
colors: {
  custom: {
    50: '#7ba86f',
    500: '#408335',
    950: '#000000',
  },
}
SCSS
$custom: #408335;
$custom-light: #7ba86f;
$custom-dark: #000000;
JSON
{
  "hex": "#408335",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 111.538,
    "s": 42.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.54759,
    "c": 0.13159,
    "h": 140.9
  },
  "luminance": 0.1758
}

Semantic roles & 50–950 ramp

primary
#408335
secondary
#A367AD
accent
#56D2C1
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #408335

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

Preview Lab → · Contrast checker → · Palette generator →

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