#408341#408341

#408341 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.9% C 0.120 H 144.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#408341
RGBrgb(64, 131, 65)
HSLhsl(121, 34%, 38%)
HSVhsv(121, 51%, 51%)
CMYKcmyk(51.1%, 0%, 50.4%, 48.6%)
CIE-LABlab(49.13, -35.74, 29.14)
CIE-LCHlch(49.13, 46.11, 140.81°)
OKLaboklab(54.93% -0.0972 0.0706)
OKLCHoklch(54.93% 0.12 144)
XYZxyz(11.1842, 17.7034, 7.8277)
Luminance0.1770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408341 #834082
analogous
#608340 #408341 #408362
triadic
#408341 #414083 #834140
tetradic
#408341 #406083 #834082 #836240
square
#408341 #406083 #834082 #836240
split-complementary
#408341 #624083 #834060
monochromatic
#183118 #2C5A2D #408341 #54AC56 #7EC07F

Accessibility & contrast

On white

4.62
#408341 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#408341 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #408341
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408341#FFFFFF#000000##FFFFFF
##4083411.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85793C
Deuteranopia (green-blind)
#7C7245
Tritanopia (blue-blind)
#368074
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #408341;
/* rgb */ color: rgb(64, 131, 65);
/* oklch */ color: oklch(54.9% 0.120 144.0);
Tailwind
colors: {
  custom: {
    50: '#7aa777',
    500: '#408341',
    950: '#000000',
  },
}
SCSS
$custom: #408341;
$custom-light: #7aa777;
$custom-dark: #000000;
JSON
{
  "hex": "#408341",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 120.896,
    "s": 34.359,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54934,
    "c": 0.12009,
    "h": 144
  },
  "luminance": 0.17704
}

Semantic roles & 50–950 ramp

primary
#408341
secondary
#AA75A9
accent
#5DC9CA
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A0F09
muted
#7C7F7B

Preview Lab

Preview with #408341

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

Preview Lab → · Contrast checker → · Palette generator →

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