#408337#408337

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

Color values

HEX#408337
RGBrgb(64, 131, 55)
HSLhsl(113, 41%, 36%)
HSVhsv(113, 58%, 51%)
CMYKcmyk(51.1%, 0%, 58%, 48.6%)
CIE-LABlab(49.00, -37.12, 34.17)
CIE-LCHlch(49.00, 50.46, 137.37°)
OKLaboklab(54.79% -0.1014 0.081)
OKLCHoklch(54.79% 0.13 141.4)
XYZxyz(10.9197, 17.5976, 6.4350)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408337 #7A3783
analogous
#668337 #408337 #378354
triadic
#408337 #374083 #833740
tetradic
#408337 #376683 #7A3783 #835437
square
#408337 #376683 #7A3783 #835437
split-complementary
#408337 #543783 #833766
monochromatic
#162D13 #2B5825 #408337 #55AE49 #7BC371

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408337#FFFFFF#000000##FFFFFF
##4083371.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)
#867830
Deuteranopia (green-blind)
#7D723D
Tritanopia (blue-blind)
#387F72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #408337;
/* rgb */ color: rgb(64, 131, 55);
/* oklch */ color: oklch(54.8% 0.130 141.4);
Tailwind
colors: {
  custom: {
    50: '#7ba870',
    500: '#408337',
    950: '#000000',
  },
}
SCSS
$custom: #408337;
$custom-light: #7ba870;
$custom-dark: #000000;
JSON
{
  "hex": "#408337",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 112.895,
    "s": 40.86,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54785,
    "c": 0.12976,
    "h": 141.4
  },
  "luminance": 0.17598
}

Semantic roles & 50–950 ramp

primary
#408337
secondary
#A46AAC
accent
#57D1C2
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F08
muted
#7C7F7B

Preview Lab

Preview with #408337

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

Preview Lab → · Contrast checker → · Palette generator →

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