#408336#408336

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

Color values

HEX#408336
RGBrgb(64, 131, 54)
HSLhsl(112, 42%, 36%)
HSVhsv(112, 59%, 51%)
CMYKcmyk(51.1%, 0%, 58.8%, 48.6%)
CIE-LABlab(48.99, -37.25, 34.66)
CIE-LCHlch(48.99, 50.88, 137.06°)
OKLaboklab(54.77% -0.1018 0.082)
OKLCHoklch(54.77% 0.131 141.2)
XYZxyz(10.8960, 17.5881, 6.3100)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408336 #793683
analogous
#678336 #408336 #368353
triadic
#408336 #364083 #833640
tetradic
#408336 #366783 #793683 #835336
square
#408336 #366783 #793683 #835336
split-complementary
#408336 #533683 #833667
monochromatic
#162C12 #2B5824 #408336 #55AE48 #7AC470

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408336#FFFFFF#000000##FFFFFF
##4083361.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)
#86782E
Deuteranopia (green-blind)
#7D723C
Tritanopia (blue-blind)
#397F72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #408336;
/* rgb */ color: rgb(64, 131, 54);
/* oklch */ color: oklch(54.8% 0.131 141.2);
Tailwind
colors: {
  custom: {
    50: '#7ba86f',
    500: '#408336',
    950: '#000000',
  },
}
SCSS
$custom: #408336;
$custom-light: #7ba86f;
$custom-dark: #000000;
JSON
{
  "hex": "#408336",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 112.208,
    "s": 41.622,
    "l": 36.275
  },
  "oklch": {
    "l": 0.54772,
    "c": 0.13068,
    "h": 141.2
  },
  "luminance": 0.17589
}

Semantic roles & 50–950 ramp

primary
#408336
secondary
#A468AC
accent
#56D1C1
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #408336

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

Preview Lab → · Contrast checker → · Palette generator →

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