#408332#408332

#408332 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.7% C 0.134 H 140.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#408332
RGBrgb(64, 131, 50)
HSLhsl(110, 45%, 35%)
HSVhsv(110, 62%, 51%)
CMYKcmyk(51.1%, 0%, 61.8%, 48.6%)
CIE-LABlab(48.95, -37.73, 36.57)
CIE-LCHlch(48.95, 52.55, 135.89°)
OKLaboklab(54.72% -0.1033 0.0857)
OKLCHoklch(54.72% 0.134 140.3)
XYZxyz(10.8059, 17.5521, 5.8355)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408332 #753283
analogous
#688332 #408332 #32834D
triadic
#408332 #324083 #833240
tetradic
#408332 #326883 #753283 #834D32
square
#408332 #326883 #753283 #834D32
split-complementary
#408332 #4D3283 #833268
monochromatic
#152A10 #2A5721 #408332 #56AF43 #79C669

Accessibility & contrast

On white

4.66
#408332 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#408332 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #408332
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408332#FFFFFF#000000##FFFFFF
##4083321.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867829
Deuteranopia (green-blind)
#7E7238
Tritanopia (blue-blind)
#397F72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #408332;
/* rgb */ color: rgb(64, 131, 50);
/* oklch */ color: oklch(54.7% 0.134 140.3);
Tailwind
colors: {
  custom: {
    50: '#7ba86d',
    500: '#408332',
    950: '#000000',
  },
}
SCSS
$custom: #408332;
$custom-light: #7ba86d;
$custom-dark: #000000;
JSON
{
  "hex": "#408332",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 50
  },
  "hsl": {
    "h": 109.63,
    "s": 44.751,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54721,
    "c": 0.13426,
    "h": 140.3
  },
  "luminance": 0.17553
}

Semantic roles & 50–950 ramp

primary
#408332
secondary
#A163AE
accent
#53D4BE
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #408332

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

Preview Lab → · Contrast checker → · Palette generator →

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